Skip to content

Commit

Permalink
dont create paint events for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Jul 11, 2023
1 parent ef9c5e4 commit 8602da1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haxe/ui/backend/ComponentImpl.hx
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ class ComponentImpl extends ComponentBase {
return;
}

if (!Platform.isMac && (window is TransparentPanel)) {
if (!Platform.isMac && !Platform.isLinux && (window is TransparentPanel)) {
if (style.hasBorder) {
if (!_paintEventSet) {
window.bind(EventType.PAINT, onWindowPaint);
Expand Down

0 comments on commit 8602da1

Please sign in to comment.