mirror of
https://github.com/emilk/egui.git
synced 2026-09-03 07:10:04 -04:00
Fix typos
This commit is contained in:
@@ -130,7 +130,7 @@ impl<'a, 'b> Strip<'a, 'b> {
|
|||||||
pub fn empty(&mut self) {
|
pub fn empty(&mut self) {
|
||||||
assert!(
|
assert!(
|
||||||
!self.sizes.is_empty(),
|
!self.sizes.is_empty(),
|
||||||
"Tried using more strip cells then available."
|
"Tried using more strip cells than available."
|
||||||
);
|
);
|
||||||
|
|
||||||
let (width, height) = self.next_cell_size();
|
let (width, height) = self.next_cell_size();
|
||||||
@@ -140,7 +140,7 @@ impl<'a, 'b> Strip<'a, 'b> {
|
|||||||
fn cell_impl(&mut self, clip: bool, add_contents: impl FnOnce(&mut Ui)) {
|
fn cell_impl(&mut self, clip: bool, add_contents: impl FnOnce(&mut Ui)) {
|
||||||
assert!(
|
assert!(
|
||||||
!self.sizes.is_empty(),
|
!self.sizes.is_empty(),
|
||||||
"Tried using more strip cells then available."
|
"Tried using more strip cells than available."
|
||||||
);
|
);
|
||||||
|
|
||||||
let (width, height) = self.next_cell_size();
|
let (width, height) = self.next_cell_size();
|
||||||
|
|||||||
@@ -300,7 +300,7 @@ impl<'a, 'b> TableRow<'a, 'b> {
|
|||||||
fn column(&mut self, clip: bool, add_contents: impl FnOnce(&mut Ui)) -> Response {
|
fn column(&mut self, clip: bool, add_contents: impl FnOnce(&mut Ui)) -> Response {
|
||||||
assert!(
|
assert!(
|
||||||
!self.widths.is_empty(),
|
!self.widths.is_empty(),
|
||||||
"Tried using more table columns then available."
|
"Tried using more table columns than available."
|
||||||
);
|
);
|
||||||
|
|
||||||
let width = self.widths[0];
|
let width = self.widths[0];
|
||||||
|
|||||||
Reference in New Issue
Block a user