Ver a proveniência

Fixes #86

tags/v0.1.2^2
Big Bad Waffle há 7 anos
ascendente
cometimento
321440413f
1 ficheiros alterados com 4 adições e 2 eliminações
  1. +4
    -2
      src/client/js/renderer.js

+ 4
- 2
src/client/js/renderer.js Ver ficheiro

@@ -181,8 +181,10 @@ define([
},

onResize: function() {
this.width = $('body').width();
this.height = $('body').height();
var zoom = window.devicePixelRatio;

this.width = $('body').width() * zoom;
this.height = $('body').height() * zoom;

this.renderer.resize(this.width, this.height);
if (window.player) {


Carregando…
Cancelar
Guardar