Closed tisoft closed 3 years ago
The JAWTDrawingSurfaceInfo has coordinates (0/0) if the AWTGLCanvas is inside a JSplitPane (and probably others). Correct the coordinates by converting (0/0) in Canvas coordinates to RootPane coordinates.
Fixes #33
@httpdigest Could we get this merged? 😄
Oh, of course. Sorry, didn't notice it. Merged.
Thanks!
The JAWTDrawingSurfaceInfo has coordinates (0/0) if the AWTGLCanvas is inside a JSplitPane (and probably others). Correct the coordinates by converting (0/0) in Canvas coordinates to RootPane coordinates.
Fixes #33