fix(corner-radius): properly handle no value, and use geometry
This commit is contained in:
parent
6f93b8774d
commit
2873d6b27e
5 changed files with 52 additions and 42 deletions
|
|
@ -111,7 +111,7 @@ impl MoveGrabState {
|
|||
let active_window_hint = crate::theme::active_window_hint(theme);
|
||||
let radius = self
|
||||
.window()
|
||||
.corner_radius()
|
||||
.corner_radius(window_geo.size)
|
||||
.unwrap_or([self.indicator_thickness; 4]);
|
||||
|
||||
let focus_element = if self.indicator_thickness > 0 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue