mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 06:11: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
|
mql
|
||||||
}
|
}
|
||||||
|
|
||||||
fn handler(&mut self, event: MediaQueryListEvent) {
|
fn handler(&mut self, _event: MediaQueryListEvent) {
|
||||||
assert!(!event.matches());
|
|
||||||
let mql = self
|
let mql = self
|
||||||
.mql
|
.mql
|
||||||
.take()
|
.take()
|
||||||
|
|
Loading…
Reference in a new issue