mirror of
https://github.com/elementary/gala.git
synced 2024-09-11 15:15:39 +03:00
Update scales
This commit is contained in:
parent
4a9af312fa
commit
ad3bb631f5
@ -85,6 +85,9 @@ namespace Gala {
|
||||
set_position (monitor_geometry.x, monitor_geometry.y);
|
||||
set_size (monitor_geometry.width, monitor_geometry.height);
|
||||
window_container.set_size (monitor_geometry.width, monitor_geometry.height);
|
||||
|
||||
var scale = display.get_monitor_scale (monitor);
|
||||
window_container.monitor_scale = scale;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -245,6 +245,7 @@ namespace Gala {
|
||||
|
||||
private void reallocate () {
|
||||
icon_group.scale_factor = scale_factor;
|
||||
window_container.monitor_scale = scale_factor;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user