You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The y-coordinate is inverted when WebKit renders the native color picker menu over the view. This doesn't happen on Safari or Chrome, only in the Webview.
There's an isFlipped property for the view that might(?) fix it: https://developer.apple.com/documentation/appkit/nsview/isflipped
But I can't figure out how to set that, or if there's any way to intercept the native call to flip the coordinates when it draws.
I can see the mouseDown_ in WebKitHost is firing with the reversed y-coordinate system from what the web sees and those events must be flipped somewhere since the web code sees the correct positions... but the reverse direction when the color picker requests a draw is wrong.
Specification
Description
The y-coordinate is inverted when WebKit renders the native color picker menu over the view. This doesn't happen on Safari or Chrome, only in the Webview.
There's an isFlipped property for the view that might(?) fix it: https://developer.apple.com/documentation/appkit/nsview/isflipped
But I can't figure out how to set that, or if there's any way to intercept the native call to flip the coordinates when it draws.
I can see the mouseDown_ in WebKitHost is firing with the reversed y-coordinate system from what the web sees and those events must be flipped somewhere since the web code sees the correct positions... but the reverse direction when the color picker requests a draw is wrong.
Example:
Practicalities
The text was updated successfully, but these errors were encountered: