mirror of
https://github.com/wez/wezterm.git
synced 2025-01-01 18:22:13 +03:00
gui: remove config.dpi override logic
The overrides are now applied at the window layer, which is (mostly!) aware of per-screen overrides. refs: #4096
This commit is contained in:
parent
b11691dda7
commit
18d93fce5a
@ -20,10 +20,6 @@ impl super::TermWindow {
|
|||||||
window: &Window,
|
window: &Window,
|
||||||
live_resizing: bool,
|
live_resizing: bool,
|
||||||
) {
|
) {
|
||||||
// ignore dpi changes if there is a fixed dpi set in configuration
|
|
||||||
if let Some(dpi) = configuration().dpi {
|
|
||||||
dimensions.dpi = dpi as usize;
|
|
||||||
}
|
|
||||||
log::trace!(
|
log::trace!(
|
||||||
"resize event, live={} current cells: {:?}, current dims: {:?}, new dims: {:?} window_state:{:?}",
|
"resize event, live={} current cells: {:?}, current dims: {:?}, new dims: {:?} window_state:{:?}",
|
||||||
live_resizing,
|
live_resizing,
|
||||||
|
Loading…
Reference in New Issue
Block a user