Skip to content

Commit 8342d8f

Browse files
authored
Remove cruft from #841 (#846)
1 parent 4674f6c commit 8342d8f

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

masonry/src/event.rs

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
//! Events.
55
6-
use std::panic;
76
use std::path::PathBuf;
87

98
use vello::kurbo::Point;

masonry/src/widget/text_area.rs

-1
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,6 @@ impl<const EDITABLE: bool> TextArea<EDITABLE> {
488488
.driver(fctx, lctx)
489489
.select_byte_range(start, end);
490490
this.ctx.request_render();
491-
this.ctx.request_layout();
492491
}
493492

494493
/// Set the selection to the first instance of the given text.

masonry/src/widget/textbox.rs

-2
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,6 @@ impl Textbox {
105105
this.widget.clip = clip;
106106
this.ctx.request_layout();
107107
}
108-
109-
//pub fn set
110108
}
111109

112110
// --- MARK: IMPL WIDGET ---

0 commit comments

Comments
 (0)