Skip to content

Commit 7ca9093

Browse files
author
thyttan
committed
Merge branch 'swipeinv' into app-loader
2 parents 621d6eb + 363d009 commit 7ca9093

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

apps/swipeinv/boot.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
}, require("Storage").readJSON("swipeinv.json", true) || {});
66

77
let getAppIdFromSrc = ()=> {
8+
"ram"
89
if (!global.__FILE__ || global.__FILE__===".bootcde") {
910
return require("Storage").readJSON("setting.json",true).clock
1011
} else {return global.__FILE__.split(".")[0];}
@@ -14,6 +15,7 @@
1415
if (settings.global || Object.keys(settings.apps).length > 0) {
1516

1617
let swipeInverter = (dirLR, dirUD, obj) => {
18+
"ram"
1719
if (settings.global ^ Object.keys(settings.apps).includes(getAppIdFromSrc())) {
1820
if (!(obj && obj.inverted)) {
1921
E.stopEventPropagation();
@@ -28,6 +30,7 @@
2830
}
2931

3032
let dragInverter = (e) => {
33+
"ram"
3134
if (settings.global ^ Object.keys(settings.apps).includes(getAppIdFromSrc())) {
3235
if (!e.inverted) {
3336
E.stopEventPropagation();

core

0 commit comments

Comments
 (0)