mirror of
https://github.com/elementary/gala.git
synced 2024-11-26 23:05:09 +03:00
WindowClone: Include spread in bounding box
This commit is contained in:
parent
50eeeae37e
commit
c544da1364
@ -28,7 +28,7 @@ namespace Gala {
|
||||
|
||||
public override ActorBox get_bounding_box () {
|
||||
var scale_factor = InternalUtils.get_ui_scaling_factor ();
|
||||
var size = shadow_size * scale_factor;
|
||||
var size = shadow_size + shadow_spread * scale_factor;
|
||||
|
||||
var input_rect = window.get_buffer_rect ();
|
||||
var outer_rect = window.get_frame_rect ();
|
||||
|
Loading…
Reference in New Issue
Block a user