File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -218,8 +218,6 @@ public void Initialize(AppConfig rootConfig, FlyleafManager fl)
218
218
FL = fl ;
219
219
Loaded = true ;
220
220
221
- // Initialize the size of secondary subtitles to the same size as the primary at startup
222
- SubsFontSize2 = SubsFontSize ;
223
221
// Save the initial value of the position for reset.
224
222
_subsPositionInitial = SubsPosition ;
225
223
@@ -298,7 +296,6 @@ public double SubsFontSize
298
296
public double SubsFontSizeFix => GetFixFontSize ( SubsFontSize ) ;
299
297
300
298
// Secondary Subtitle Size
301
- [ JsonIgnore ]
302
299
public double SubsFontSize2
303
300
{
304
301
get ;
@@ -314,7 +311,7 @@ public double SubsFontSize2
314
311
OnPropertyChanged ( nameof ( SubsFontSize2Fix ) ) ;
315
312
}
316
313
}
317
- }
314
+ } = 44 ;
318
315
319
316
[ JsonIgnore ]
320
317
public double SubsFontSize2Fix => GetFixFontSize ( SubsFontSize2 ) ;
@@ -391,7 +388,7 @@ public Size SubsPanelSize
391
388
}
392
389
}
393
390
394
- private bool _isSubsOverflowBottom = true ;
391
+ private bool _isSubsOverflowBottom ;
395
392
396
393
[ JsonIgnore ]
397
394
public Thickness SubsMargin
@@ -422,7 +419,7 @@ public double SubsPosition
422
419
get ;
423
420
set
424
421
{
425
- if ( _isSubsOverflowBottom && field < value )
422
+ if ( _isSubsOverflowBottom && SubsPanelSize . Height > 0 && field < value )
426
423
{
427
424
// Prohibit going further down when it overflows below.
428
425
return ;
You can’t perform that action at this time.
0 commit comments