File tree Expand file tree Collapse file tree 2 files changed +38
-6
lines changed
src/components/tw-settings-modal Expand file tree Collapse file tree 2 files changed +38
-6
lines changed Original file line number Diff line number Diff line change 170
170
padding : 0.5rem 1rem ;
171
171
margin : 0.25rem 0 ;
172
172
border-radius : 4px ;
173
- background : rgb (233 , 233 , 53 );
173
+ background : rgb (255 , 197 , 38 );
174
+ color : black;
174
175
}
175
176
[theme = "dark" ] .warning {
176
- background : rgb (114 , 102 , 0 );
177
+ background : rgb (114 , 65 , 0 );
178
+ color: $text- primary;
179
+ }
180
+
181
+ .summary {
182
+ cursor : pointer;
183
+ }
184
+ .dropdown {
185
+ margin-right : 4px ;
177
186
}
187
+ details [open ] .dropdown {
188
+ transform : rotate (90deg );
189
+ }
Original file line number Diff line number Diff line change @@ -483,10 +483,6 @@ const SettingsModalComponent = props => (
483
483
onChange = { props . onFramerateChange }
484
484
onCustomizeFramerate = { props . onCustomizeFramerate }
485
485
/>
486
- < Interpolation
487
- value = { props . interpolation }
488
- onChange = { props . onInterpolationChange }
489
- />
490
486
< HighQualityPen
491
487
value = { props . highQualityPen }
492
488
onChange = { props . onHighQualityPenChange }
@@ -542,6 +538,30 @@ const SettingsModalComponent = props => (
542
538
{...props}
543
539
/>
544
540
)} */ }
541
+ < details >
542
+ < summary className = { styles . summary } >
543
+ < Header >
544
+ < span className = { styles . dropdown } > ⯈</ span >
545
+ < FormattedMessage
546
+ defaultMessage = "Unsupported"
547
+ description = "Old unsupported settings section"
548
+ id = "pm.settingsModal.unsupported"
549
+ />
550
+ </ Header >
551
+ </ summary >
552
+ < div className = { styles . warning } >
553
+ < FormattedMessage
554
+ // eslint-disable-next-line max-len
555
+ defaultMessage = "The settings here are unsupported and can break at any time. These settings are here as they either have better methods to create their effects with better results, or break often when used with other extensions."
556
+ description = "Warning about old unsupported settings in settings menu"
557
+ id = "pm.settingsModal.unsupportedWarning"
558
+ />
559
+ </ div >
560
+ < Interpolation
561
+ value = { props . interpolation }
562
+ onChange = { props . onInterpolationChange }
563
+ />
564
+ </ details >
545
565
</ Box >
546
566
</ Modal >
547
567
) ;
You can’t perform that action at this time.
0 commit comments