Skip to content

Commit

Permalink
Merge pull request #4223 from cwisniew/fix-sheet-css
Browse files Browse the repository at this point in the history
fixes for missing scrollbar values
  • Loading branch information
cwisniew authored Jul 29, 2023
2 parents a1ad295 + c3eb15c commit 5811998
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,11 @@ public ScrollBarCSSContext(UIDefaults uiDef, Function<Color, String> formatColor
showButtons = uiDef.getBoolean("ScrollBar.showButtons") ? 1 : 0;
thumbHighlightColor = formatColor.apply(uiDef.getColor("ScrollBar.thumbHighlight"));
thumbArc = uiDef.getInt("ScrollBar.thumbArc");
thumbBorderColor = formatColor.apply(uiDef.getColor("ScrollBar.thumbBorderColor"));
thumbShadowColor = formatColor.apply(uiDef.getColor("ScrollBar.thumbShadow"));
thumbDarkShadowColor = formatColor.apply(uiDef.getColor("ScrollBar.thumbDarkShadow"));
var dscol = uiDef.getColor("ScrollBar.thumbDarkShadow");
thumbDarkShadowColor = dscol != null ? formatColor.apply(dscol) : thumbShadowColor;
var tcol = uiDef.getColor("ScrollBar.thumbBorderColor");
thumbBorderColor = tcol != null ? formatColor.apply(tcol) : thumbShadowColor;
thumbColor = formatColor.apply(uiDef.getColor("ScrollBar.thumb"));
thumbInsetsLeft = uiDef.getInt("ScrollBar.thumbInsets.left");
thumbInsetsTop = uiDef.getInt("ScrollBar.thumbInsets.top");
Expand Down

0 comments on commit 5811998

Please sign in to comment.