Docking: Cocoa fix

git-svn-id: svn://ultimatepp.org/upp/trunk@12795 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2019-02-24 19:23:06 +00:00
parent 6bc8000e00
commit 6dcafb5c13

View file

@ -161,8 +161,13 @@ CH_STYLE(DockableCtrl, Style, StyleDefault)
{
const TabCtrl::Style *style = &TabCtrl::StyleDefault();
#ifdef PLATFORM_COCOA
handle[0] = SColorFace();
handle[1] = SColorHighlight();
#else
handle[0] = ChCrop(style->normal[0], Size(20, 20), Rect(2, 2, 11, 20), SColorShadow); // No focus
handle[1] = Colorize(handle[0], SColorHighlight(), 160); // Focus
#endif
handle_margins = Rect(2, 0, 0, 0);
handle_vert = false;