Kaynağa Gözat

added more close buttons

tags/v0.3.1
Big Bad Waffle 5 yıl önce
ebeveyn
işleme
c3f6e67b05
7 değiştirilmiş dosya ile 12 ekleme ve 2 silme
  1. +1
    -1
      src/client/css/main.less
  2. +6
    -1
      src/client/js/main.js
  3. +1
    -0
      src/client/ui/templates/leaderboard/leaderboard.js
  4. +1
    -0
      src/client/ui/templates/online/online.js
  5. +1
    -0
      src/client/ui/templates/passives/passives.js
  6. +1
    -0
      src/client/ui/templates/reputation/reputation.js
  7. +1
    -0
      src/client/ui/templates/smithing/smithing.js

+ 1
- 1
src/client/css/main.less Dosyayı Görüntüle

@@ -2,6 +2,7 @@

body, html {
position: fixed;
overflow: hidden;
overscroll-behavior: none;
}

@@ -10,7 +11,6 @@ body {
width: 100vw;
height: 100vh;
background-color: @black;
overflow: hidden;
}

.ui-container {


+ 6
- 1
src/client/js/main.js Dosyayı Görüntüle

@@ -25,8 +25,13 @@ define([
hasFocus: true,

init: function () {
if (isMobile)
if (isMobile) {
window.addEventListener('touchmove', function (e) {
e.preventDefault();
}, { passive: false } );
$('.ui-container').addClass('mobile');
}

client.init(this.onClientReady.bind(this));
},


+ 1
- 0
src/client/ui/templates/leaderboard/leaderboard.js Dosyayı Görüntüle

@@ -16,6 +16,7 @@ define([

centered: true,
modal: true,
hasClose: true,

prophecyFilter: null,



+ 1
- 0
src/client/ui/templates/online/online.js Dosyayı Görüntüle

@@ -21,6 +21,7 @@ define([
blockedList: [],

modal: true,
hasClose: true,

postRender: function () {
globals.onlineList = this.onlineList;


+ 1
- 0
src/client/ui/templates/passives/passives.js Dosyayı Görüntüle

@@ -21,6 +21,7 @@ define([
tpl: tpl,

modal: true,
hasClose: true,

canvas: null,
size: {},


+ 1
- 0
src/client/ui/templates/reputation/reputation.js Dosyayı Görüntüle

@@ -14,6 +14,7 @@ define([

centered: true,
modal: true,
hasClose: true,

list: null,



+ 1
- 0
src/client/ui/templates/smithing/smithing.js Dosyayı Görüntüle

@@ -19,6 +19,7 @@ define([
centered: true,

modal: true,
hasClose: true,

eventCloseInv: null,



Yükleniyor…
İptal
Kaydet