This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
gitlord
/
isleward
mirror of
https://gitlab.com/Isleward/isleward.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
203
Wiki
Activity
Browse Source
fixes
#122
tags/v0.3.3^2
Shaun Kichenbrand
4 years ago
parent
baa57d454d
commit
6a8f8c40b5
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/client/js/objects/objBase.js
+1
-1
src/client/js/rendering/renderer.js
+ 1
- 1
src/client/js/objects/objBase.js
View File
@@ -86,7 +86,7 @@ define([
return;
this.sprite.x = (this.x * scale) + (this.flipX ? scale : 0) + this.offsetX;
const oldY = this.sprite.
x
;
const oldY = this.sprite.
y
;
this.sprite.y = (this.y * scale) + this.offsetY;
if (this.sprite.width > scale) {
+ 1
- 1
src/client/js/rendering/renderer.js
View File
@@ -785,7 +785,7 @@ define([
obj.sprite.texture = this.getTexture(obj.sheetName, obj.cell, obj.sprite.width / scaleMult);
},
reorder: function (
sprite
) {
reorder: function () {
this.layers.mobs.children.sort((a, b) => b.y - a.y);
},
Write
Preview
Loading…
Cancel
Save