mirror of
https://github.com/wez/wezterm.git
synced 2024-12-29 00:21:57 +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,
|
||||
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!(
|
||||
"resize event, live={} current cells: {:?}, current dims: {:?}, new dims: {:?} window_state:{:?}",
|
||||
live_resizing,
|
||||
|
Loading…
Reference in New Issue
Block a user