Skip to content

Commit

Permalink
Test msx out
Browse files Browse the repository at this point in the history
  • Loading branch information
yumata committed Nov 6, 2024
1 parent 084435a commit 2ca8389
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions app.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -20561,7 +20561,7 @@
var imasdk;

function init$l() {
if (Platform.is('android') || Platform.is('browser')) {
if (!(Platform.is('orsay') || Platform.is('netcast'))) {
Utils$2.putScriptAsync(['https://cdn.jsdelivr.net/npm/vast-player@latest/dist/vast-player.min.js'], false, false, function () {
imasdk = true;
});
Expand Down Expand Up @@ -38789,7 +38789,7 @@
if (Platform.is('android')) Android.exit();
if (Platform.is('orsay')) Orsay.exit();
if (Platform.is('netcast')) window.NetCastBack();
if (Platform.is('noname') && typeof window.close == 'function') window.close();
if (Platform.is('noname')) window.history.go(0);
}

function popupCloseApp() {
Expand Down Expand Up @@ -38844,7 +38844,7 @@
/** Выход в начальном скрине */

Keypad.listener.follow('keydown', function (e) {
if (window.appready || Controller.enabled().name == 'modal') return;
if (window.appready || Controller.enabled().name == 'modal' || Platform.is('browser') || Platform.desktop()) return;
if (e.code == 8 || e.code == 27 || e.code == 461 || e.code == 10009 || e.code == 88) popupCloseApp();
});
/** Отключаем правый клик */
Expand Down Expand Up @@ -39001,8 +39001,9 @@

Activity$1.listener.follow('backward', function (event) {
if (!start_time) start_time = Date.now();
var noout = Platform.is('browser') || Platform.desktop();

if (event.count == 1 && Date.now() > start_time + 1000 * 2) {
if (event.count == 1 && Date.now() > start_time + 1000 * 2 && !noout) {
var enabled = Controller.enabled();
Select.show({
title: Lang.translate('title_out'),
Expand Down

0 comments on commit 2ca8389

Please sign in to comment.