Merge branch 'master' into non-uniform-border-radius-for-quads
This commit is contained in:
commit
4029a1cdaa
147 changed files with 4828 additions and 2184 deletions
|
|
@ -260,9 +260,9 @@ where
|
|||
let is_mouse_over = bounds.contains(cursor_position);
|
||||
|
||||
let style = if is_mouse_over {
|
||||
theme.hovered(self.style, self.is_active)
|
||||
theme.hovered(&self.style, self.is_active)
|
||||
} else {
|
||||
theme.active(self.style, self.is_active)
|
||||
theme.active(&self.style, self.is_active)
|
||||
};
|
||||
|
||||
let border_radius = bounds.height as f32 / BORDER_RADIUS_RATIO;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue