File tree 1 file changed +13
-3
lines changed
uis/src/com/biglybt/ui/swt/components/graphics
1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -724,8 +724,9 @@ public void handleEvent(Event e) {
724
724
Set <ValueSource > bold_sources = new HashSet <>();
725
725
Set <ValueSource > dotted_sources = new HashSet <>();
726
726
727
- int max = 0 ;
728
-
727
+ int max = 0 ;
728
+ int trim_max = 0 ;
729
+
729
730
for ( int i =0 ;i <maxs .length ;i ++){
730
731
731
732
ValueSource source = value_sources [i ];
@@ -745,12 +746,21 @@ public void handleEvent(Event e) {
745
746
dotted_sources .add ( source );
746
747
}
747
748
748
- if ( ! source .isTrimmable ()){
749
+ if ( source .isTrimmable ()){
749
750
751
+ trim_max = Math .max ( trim_max , maxs [i ] );
752
+
753
+ }else {
754
+
750
755
max = Math .max ( max , maxs [i ] );
751
756
}
752
757
}
753
758
759
+ if ( max == 0 ){
760
+
761
+ max = trim_max ;
762
+ }
763
+
754
764
int max_primary = max ;
755
765
756
766
for ( int i =0 ;i <maxs .length ;i ++){
You can’t perform that action at this time.
0 commit comments