File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -23,23 +23,27 @@ Menubar.Status = function ( editor ) {
23
23
} ) ;
24
24
container . add ( checkbox ) ;
25
25
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 ) ;
30
29
31
30
editor . signals . savingStarted . add ( function ( ) {
32
31
33
- title . setTextDecoration ( 'underline' ) ;
32
+ text . setTextDecoration ( 'underline' ) ;
34
33
35
34
} ) ;
36
35
37
36
editor . signals . savingFinished . add ( function ( ) {
38
37
39
- title . setTextDecoration ( 'none' ) ;
38
+ text . setTextDecoration ( 'none' ) ;
40
39
41
40
} ) ;
42
41
42
+ var version = new UI . Text ( 'r' + THREE . REVISION ) ;
43
+ version . setClass ( 'title' ) ;
44
+ version . setOpacity ( 0.5 ) ;
45
+ container . add ( version ) ;
46
+
43
47
return container ;
44
48
45
49
} ;
You can’t perform that action at this time.
0 commit comments