@a83/orbiter-admin 0.3.37 → 0.3.38
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/package.json +1 -1
- package/public/xfce.js +8 -0
package/package.json
CHANGED
package/public/xfce.js
CHANGED
|
@@ -1113,6 +1113,14 @@
|
|
|
1113
1113
|
return;
|
|
1114
1114
|
}
|
|
1115
1115
|
|
|
1116
|
+
// / — open palette (when not typing in an input)
|
|
1117
|
+
if (!mod && !e.shiftKey && !e.altKey && e.key === '/' && !isEditing(e.target)) {
|
|
1118
|
+
e.preventDefault();
|
|
1119
|
+
if (palette && palette.classList.contains('open')) closePalette();
|
|
1120
|
+
else openPalette();
|
|
1121
|
+
return;
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1116
1124
|
// ⌘⇧D — toggle HUD
|
|
1117
1125
|
if (mod && e.shiftKey && (e.key === 'd' || e.key === 'D')) {
|
|
1118
1126
|
e.preventDefault();
|