File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed
Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,8 @@ socket.commands((data) => {
9898
9999 window . noteShaking = message . noteShaking
100100 window . noteColoring = message . noteColoring
101+
102+ window . bmcMode = message . bmcMode
101103 }
102104 } catch ( error ) {
103105 console . log ( error ) ;
@@ -192,6 +194,13 @@ socket.api_v2_precise((data) => {
192194 }
193195 }
194196
197+ // Set :bmc: background if enabled
198+ if ( bmcMode ) {
199+ note . style . backgroundColor = ''
200+ note . style . backgroundImage = 'url(./img/bmc.png)'
201+ note . style . backgroundSize = '100% 100%'
202+ }
203+
195204 // Add the note to the track
196205 document . getElementById ( `track${ _key } ` ) . prepend ( note ) ;
197206 } else {
Original file line number Diff line number Diff line change 203203 " Hide"
204204 ],
205205 "value" : " Auto"
206+ },
207+ {
208+ "uniqueID" : " bmcMode" ,
209+ "type" : " checkbox" ,
210+ "title" : " secret mode" ,
211+ "description" : " what do it does?..." ,
212+ "options" : " " ,
213+ "value" : false
206214 }
207215]
You can’t perform that action at this time.
0 commit comments