refactor(ags notifs): move the notif gesture file to notif folder
This commit is contained in:
parent
9c93e3dafd
commit
e021fb08d4
2 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@ const { Box, Icon, Label, Button } = Widget;
|
|||
|
||||
import GLib from 'gi://GLib';
|
||||
|
||||
import { Draggable } from '../misc/drag.js';
|
||||
import Gesture from '../misc/drag.js';
|
||||
import { EventBox } from '../misc/cursorbox.js'
|
||||
|
||||
|
||||
|
@ -92,7 +92,7 @@ export default ({ notif, command = () => {}} = {}) => {
|
|||
return;
|
||||
}
|
||||
|
||||
return Draggable({
|
||||
return Gesture({
|
||||
maxOffset: 200,
|
||||
command: () => command(),
|
||||
properties: [
|
||||
|
|
|
@ -6,7 +6,7 @@ import Gdk from 'gi://Gdk';
|
|||
const display = Gdk.Display.get_default();
|
||||
|
||||
|
||||
export const Draggable = ({
|
||||
export default ({
|
||||
maxOffset = 150,
|
||||
startMargin = 0,
|
||||
endMargin = 300,
|
Loading…
Reference in a new issue