Merge pull request #2081 from zed-industries/fix-failing-ci

Fixes a broken conditional that is only caught on darwin systems
This commit is contained in:
Mikayla Maki 2023-01-25 09:45:30 -08:00 committed by GitHub
commit ba6ffd8256
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -777,7 +777,7 @@ impl platform::Window for Window {
let is_panel: BOOL = msg_send![top_most_window, isKindOfClass: PANEL_CLASS];
let is_window: BOOL = msg_send![top_most_window, isKindOfClass: WINDOW_CLASS];
if is_panel | is_window {
if is_panel == YES || is_window == YES {
let topmost_window_id = get_window_state(&*top_most_window).borrow().id;
topmost_window_id == self_id
} else {