mac: remove unnecessary window size change check

this is already done in the updateSize method of the window.

also fixes an issue where the size wasn't properly changed, even though
the new and old size were different. the unfsContentFrame should have
been checked instead of the pixel representation of the same frame.
This commit is contained in:
der richter 2024-10-05 15:07:33 +02:00 committed by Kacper Michajłow
parent c5324cc483
commit 7bd612ee66
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ class MacCommon: Common {
initWindowState()
}
if (window?.unfsContentFramePixel.size ?? NSSize.zero) != wr.size && option.vo.auto_window_resize {
if option.vo.auto_window_resize {
window?.updateSize(wr.size)
}