Skip to content

Commit 0c7b5cd

Browse files
Desktop: Fix broken resizing affecting some Linux systems (#3917)
Desktop: Fix resizeing being broken on some Linux systems Co-authored-by: James Lindsay <78500760+0HyperCube@users.noreply.github.com>
1 parent 2e2c4fe commit 0c7b5cd

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

desktop/src/cef/context/singlethreaded.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,8 @@ impl CefContext for SingleThreadedCefContext {
2929
host.set_zoom_level(view_info.zoom());
3030
host.was_resized();
3131

32-
// Fix for CEF not updating the view after resize on windows and mac
32+
// Fix for CEF not updating the view after resize
3333
// TODO: remove once https://github.com/chromiumembedded/cef/issues/3822 is fixed
34-
#[cfg(any(target_os = "windows", target_os = "macos"))]
3534
host.invalidate(cef::PaintElementType::default());
3635
}
3736

0 commit comments

Comments
 (0)