[Webkit-unassigned] [Bug 208063] [macOS] Use NSStepperCell when painting the spin button appearance

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 21 10:29:53 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=208063

--- Comment #1 from Wenson Hsieh <wenson_hsieh at apple.com> ---
(In reply to Wenson Hsieh from comment #0)
> ThemeMac.mm’s paintStepper() helper function has this comment from 2010:
> 
>     // We don't use NSStepperCell because there are no ways to draw an
>     // NSStepperCell with the up button highlighted.

I wonder if we can just draw with the down button highlighted, but reflect it about the x-axis and translate by -height before drawing into the graphics context :|

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200221/4b58e581/attachment.htm>


More information about the webkit-unassigned mailing list