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
Merge branch '206-notifiations-slows-fps' into 'v0.1.5'
Resolve "Popup message slows game" See merge request
!160
tags/v0.1.5^2
Big Bad Waffle
6 years ago
parent
58753edf76
3f0f3f8c74
commit
a9c980a29f
4 changed files
with
4 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
src/client/js/components/particles.js
+1
-1
src/client/js/rendering/particles.js
+1
-0
src/client/ui/templates/announcements/styles.less
+1
-0
src/server/config/spells/spellFireblast.js
+ 1
- 0
src/client/js/components/particles.js
View File
@@ -15,6 +15,7 @@ define([
x: (this.obj.x * scale) + (scale / 2),
y: (this.obj.y * scale) + (scale / 2)
};
this.ttl = blueprint.ttl;
this.emitter = renderer.buildEmitter(this.blueprint);
},
+ 1
- 1
src/client/js/rendering/particles.js
View File
@@ -51,7 +51,7 @@ define([
if (destroy) {
if (e.particleCount > 0) {
visible = renderer.isVisible(e.spawnPos.x, e.spawnPos.y);
if (visible)
if (visible)
destroy = false;
}
}
+ 1
- 0
src/client/ui/templates/announcements/styles.less
View File
@@ -28,6 +28,7 @@
-2px 2px 0 @blackD,
2px 2px 0 @blackD;
animation: 0.5s ease-in-out infinite bounce;
will-change: top;
&.success {
color: @green;
+ 1
- 0
src/server/config/spells/spellFireblast.js
View File
@@ -32,6 +32,7 @@ define([
y: j,
components: [{
type: 'particles',
ttl: 10,
blueprint: this.particles
}]
};
Write
Preview
Loading…
Cancel
Save