fix(ags): fix gesture not working with touch
This commit is contained in:
parent
c75afb84b6
commit
5f59cd56d2
5 changed files with 37 additions and 122 deletions
|
@ -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',
|
||||
}),
|
||||
}),
|
||||
],
|
||||
}),
|
||||
});*/
|
||||
|
|
|
@ -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({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue