mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-23 13:51:30 +11:00
* Swap assert by debug_assert for recovereable issue * Remove debug assert completely
This commit is contained in:
parent
f43ce2a131
commit
94e4c394e7
|
@ -70,8 +70,7 @@ impl ScaleChangeDetectorInternal {
|
|||
mql
|
||||
}
|
||||
|
||||
fn handler(&mut self, event: MediaQueryListEvent) {
|
||||
assert!(!event.matches());
|
||||
fn handler(&mut self, _event: MediaQueryListEvent) {
|
||||
let mql = self
|
||||
.mql
|
||||
.take()
|
||||
|
|
Loading…
Reference in a new issue