Explorar el Código

added more close buttons

tags/v0.3.1
Big Bad Waffle hace 5 años
padre
commit
a6b4fd24fa
Se han modificado 7 ficheros con 12 adiciones y 2 borrados
  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 Ver fichero

@@ -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 Ver fichero

@@ -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 Ver fichero

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

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

prophecyFilter: null,



+ 1
- 0
src/client/ui/templates/online/online.js Ver fichero

@@ -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 Ver fichero

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

modal: true,
hasClose: true,

canvas: null,
size: {},


+ 1
- 0
src/client/ui/templates/reputation/reputation.js Ver fichero

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

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

list: null,



+ 1
- 0
src/client/ui/templates/smithing/smithing.js Ver fichero

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

modal: true,
hasClose: true,

eventCloseInv: null,



Cargando…
Cancelar
Guardar