fix(ags): fix gesture not working with touch

This commit is contained in:
matt1432 2023-09-11 18:23:47 -04:00
commit 5f59cd56d2
5 changed files with 37 additions and 122 deletions
config/ags/js
misc
notifications

View file

@ -69,24 +69,3 @@ export const Draggable = ({
return w;
};
/*export const DragTest = Window({
name: 'drag-test',
layer: 'overlay',
anchor: 'top right',
child: Box({
style: 'background: white; min-width: 200px; min-height: 200px;',
children: [
Draggable({
maxOffset: 120,
startMargin: 5,
className: 'test',
style: 'background: black; min-width: 40px; min-height: 20px',
child: Button({
style: 'background: red; min-width: 10px; min-height: 10px',
onClicked: 'echo hi',
}),
}),
],
}),
});*/

View file

@ -72,11 +72,8 @@ export default ({ id, summary, body, actions, urgency, time, ...icon }) => Dragg
},
///
child: EventBox({
child: Box({
className: `notification ${urgency}`,
/// TODO: see if this is still necessary
//
//onPrimaryClick: () => Notifications.dismiss(id),
vexpand: false,
// Notification
child: Box({