Rename overflow_hidden_{x,y}
to overflow_{x,y}_hidden
(#4146)
This PR renames the `overflow_hidden_x` and `overflow_hidden_y` methods to `overflow_x_hidden` and `overflow_y_hidden`, respectively. This provides consistency with our `overflow_x_scroll` / `overflow_y_scroll` methods, as well as better matches Tailwind's naming. Release Notes: - N/A
This commit is contained in:
parent
9993418f58
commit
decf320a74
4 changed files with 11 additions and 5 deletions
|
@ -51,7 +51,7 @@ impl StatusBar {
|
|||
fn render_left_tools(&self, _: &mut ViewContext<Self>) -> impl IntoElement {
|
||||
h_flex()
|
||||
.gap_2()
|
||||
.overflow_hidden_x()
|
||||
.overflow_x_hidden()
|
||||
.children(self.left_items.iter().map(|item| item.to_any()))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue