mirror of
https://github.com/scratchfoundation/scratch-flash.git
synced 2024-12-04 21:21:06 -05:00
Merge pull request #265 from nathan/local-list-watcher-colon
Added colons to the titles of local list watchers
This commit is contained in:
commit
3e3295ca04
1 changed files with 1 additions and 1 deletions
|
@ -523,7 +523,7 @@ public class ListWatcher extends Sprite {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function updateTitle():void {
|
public function updateTitle():void {
|
||||||
title.text = ((target == null) || (target.isStage)) ? listName : target.objName + ' ' + listName;
|
title.text = ((target == null) || (target.isStage)) ? listName : target.objName + ': ' + listName;
|
||||||
title.width = title.textWidth + 5;
|
title.width = title.textWidth + 5;
|
||||||
title.x = Math.floor((frame.w - title.width) / 2);
|
title.x = Math.floor((frame.w - title.width) / 2);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue