File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,23 +23,27 @@ Menubar.Status = function ( editor ) {
2323 } ) ;
2424 container . add ( checkbox ) ;
2525
26- var title = new UI . Panel ( ) ;
27- title . setClass ( 'title' ) ;
28- title . setTextContent ( 'Autosave' ) ;
29- container . add ( title ) ;
26+ var text = new UI . Text ( 'autosave' ) ;
27+ text . setClass ( 'title' ) ;
28+ container . add ( text ) ;
3029
3130 editor . signals . savingStarted . add ( function ( ) {
3231
33- title . setTextDecoration ( 'underline' ) ;
32+ text . setTextDecoration ( 'underline' ) ;
3433
3534 } ) ;
3635
3736 editor . signals . savingFinished . add ( function ( ) {
3837
39- title . setTextDecoration ( 'none' ) ;
38+ text . setTextDecoration ( 'none' ) ;
4039
4140 } ) ;
4241
42+ var version = new UI . Text ( 'r' + THREE . REVISION ) ;
43+ version . setClass ( 'title' ) ;
44+ version . setOpacity ( 0.5 ) ;
45+ container . add ( version ) ;
46+
4347 return container ;
4448
4549} ;
You can’t perform that action at this time.
0 commit comments