Commit 7a8408e0 authored by Shaun Kichenbrand's avatar Shaun Kichenbrand

another fix for #337 and updated the version number

parent fb63428e
......@@ -77,8 +77,9 @@ define([
events.on('onGetMap', this.onGetMap.bind(this));
events.on('onToggleFullscreen', this.toggleScreen.bind(this));
this.width = $('body').width();
this.height = $('body').height();
let zoom = window.devicePixelRatio;
this.width = $('body').width() * zoom;
this.height = $('body').height() * zoom;
this.showTilesW = Math.ceil((this.width / scale) / 2) + 3;
this.showTilesH = Math.ceil((this.height / scale) / 2) + 3;
......
......@@ -11,11 +11,11 @@
</div>
<div class="message"></div>
</div>
<div class="news" location="https://gitlab.com/Isleward/isleward/tags/v0.3.1">[ Latest Release Notes ]</div>
<div class="news" location="https://gitlab.com/Isleward/isleward/tags/v0.3.2">[ Latest Release Notes ]</div>
<div class="extra">
<div class="el btn btnPatreon" location="https://patreon.com/bigbadwaffle">Pledge on Patreon</div>
<div class="el btn btnPaypal" location="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BR2CC82WUAVEA">Donate on Paypal</div>
<div class="el btn btnWiki" location="http://wiki.isleward.com/Main_Page">Access the Wiki</div>
</div>
<div class="version" location="https://gitlab.com/Isleward/isleward/tags/v0.3.1">v0.3.1</div>
<div class="version" location="https://gitlab.com/Isleward/isleward/tags/v0.3.2">v0.3.2</div>
</div>
module.exports = {
version: '0.3.1',
version: '0.3.2',
port: 4000,
startupMessage: 'Server: ready',
defaultZone: 'fjolarok',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment