File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -190,6 +190,7 @@ class Main extends React.Component {
190
190
'menubar:togglemenubar' ,
191
191
this . toggleMenuBarVisible . bind ( this )
192
192
)
193
+ clearInterval ( this . refreshTheme )
193
194
}
194
195
195
196
toggleMenuBarVisible ( ) {
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ const chooseTheme = ui => {
10
10
const minutes = now . getHours ( ) * 60 + now . getMinutes ( )
11
11
12
12
const isEndAfterStart = end > start
13
- const isBetweenStartAndEnd = minutes >= start && minutes <= end
14
- const isBetweenEndAndStart = minutes >= start || minutes <= end
13
+ const isBetweenStartAndEnd = minutes >= start && minutes < end
14
+ const isBetweenEndAndStart = minutes >= start || minutes < end
15
15
16
16
if (
17
17
( isEndAfterStart && isBetweenStartAndEnd ) ||
Original file line number Diff line number Diff line change @@ -335,7 +335,7 @@ class UiTab extends React.Component {
335
335
</ div >
336
336
< div styleName = 'group-section' >
337
337
< div styleName = 'container' >
338
- < div styleName = 'range-slider' id = 'firstRow' >
338
+ < div id = 'firstRow' >
339
339
< span
340
340
id = 'rs-bullet-1'
341
341
styleName = 'rs-label'
@@ -353,7 +353,7 @@ class UiTab extends React.Component {
353
353
onChange = { e => this . handleUIChange ( e ) }
354
354
/>
355
355
</ div >
356
- < div styleName = 'range-slider' id = 'secondRow' >
356
+ < div id = 'secondRow' >
357
357
< span
358
358
id = 'rs-bullet-2'
359
359
styleName = 'rs-label'
You can’t perform that action at this time.
0 commit comments