aleman 1.1.39 → 1.1.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ChangeLog +5 -0
- package/menu/addons/context-menu.js +2 -2
- package/menu/addons/index.js +0 -2
- package/package.json +1 -1
- package/menu/addons/f9.js +0 -14
package/ChangeLog
CHANGED
|
@@ -11,7 +11,7 @@ export const listener = ({event, state, options}) => {
|
|
|
11
11
|
...state,
|
|
12
12
|
position: {
|
|
13
13
|
x: event.clientX,
|
|
14
|
-
y: event.clientY
|
|
14
|
+
y: event.clientY,
|
|
15
15
|
},
|
|
16
16
|
});
|
|
17
17
|
|
|
@@ -21,7 +21,7 @@ export const listener = ({event, state, options}) => {
|
|
|
21
21
|
command,
|
|
22
22
|
position: {
|
|
23
23
|
x: event.clientX,
|
|
24
|
-
y: event.clientY -
|
|
24
|
+
y: event.clientY - 10,
|
|
25
25
|
},
|
|
26
26
|
};
|
|
27
27
|
};
|
package/menu/addons/index.js
CHANGED
|
@@ -3,7 +3,6 @@ import * as click from './click.js';
|
|
|
3
3
|
import * as escape from './escape.js';
|
|
4
4
|
import * as down from './down.js';
|
|
5
5
|
import * as up from './up.js';
|
|
6
|
-
import * as f9 from './f9.js';
|
|
7
6
|
import * as enter from './enter.js';
|
|
8
7
|
|
|
9
8
|
export const addons = [
|
|
@@ -12,6 +11,5 @@ export const addons = [
|
|
|
12
11
|
escape,
|
|
13
12
|
down,
|
|
14
13
|
up,
|
|
15
|
-
f9,
|
|
16
14
|
enter,
|
|
17
15
|
];
|
package/package.json
CHANGED
package/menu/addons/f9.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export const key = 'F9';
|
|
2
|
-
|
|
3
|
-
export const filter = ({state, options}) => {
|
|
4
|
-
const {beforeShow} = options;
|
|
5
|
-
|
|
6
|
-
if (!beforeShow)
|
|
7
|
-
return true;
|
|
8
|
-
|
|
9
|
-
return options.beforeShow?.(state);
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
export const listener = () => ({
|
|
13
|
-
command: 'show',
|
|
14
|
-
});
|