mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 15:13:13 -04:00
* Swap assert by debug_assert for recovereable issue * Remove debug assert completely
This commit is contained in:
committed by
GitHub
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()
|
||||
|
||||
Reference in New Issue
Block a user