WindowClone: Include spread in bounding box

This commit is contained in:
Danielle Foré 2021-11-06 14:30:15 -07:00 committed by Corentin Noël
parent 50eeeae37e
commit c544da1364

View File

@ -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 ();