projects
/
potlatch2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fec11f
)
Progress bar shouldn't stick on "100%"
author
Richard Fairhurst
<richard@systemeD.net>
Tue, 3 Jul 2012 11:50:22 +0000
(12:50 +0100)
committer
Richard Fairhurst
<richard@systemeD.net>
Tue, 3 Jul 2012 11:50:22 +0000
(12:50 +0100)
...it should stick on something else instead ;)
net/systemeD/potlatch2/Preloader.as
patch
|
blob
|
history
diff --git
a/net/systemeD/potlatch2/Preloader.as
b/net/systemeD/potlatch2/Preloader.as
index ebef62df03e06c52b442ffcc00ce53e7ed923bad..fbf65da4c4cfade699e3b73fb7b9a6bbb3ad5451 100644
(file)
--- a/
net/systemeD/potlatch2/Preloader.as
+++ b/
net/systemeD/potlatch2/Preloader.as
@@
-56,7
+56,7
@@
package net.systemeD.potlatch2 {
//this is our "animation" bit
override protected function draw():void
{
- t.text = int(_fractionLoaded*100).toString()+"%";
+ t.text =
_fractionLoaded==1 ? "Preparing..." :
int(_fractionLoaded*100).toString()+"%";
//make objects below follow loading progress
//positions are completely arbitrary
//d tells us the x value of where the loading bar is at