Fix / remove small todos

This commit is contained in:
Mikayla 2024-01-09 14:16:46 -08:00
parent 145f3f55e9
commit 80790d921d
No known key found for this signature in database
11 changed files with 52 additions and 34 deletions

View file

@ -1829,10 +1829,6 @@ impl Editor {
this.end_selection(cx);
this.scroll_manager.show_scrollbar(cx);
// todo!("use a different mechanism")
// let editor_created_event = EditorCreated(cx.handle());
// cx.emit_global(editor_created_event);
if mode == EditorMode::Full {
let should_auto_hide_scrollbars = cx.should_auto_hide_scrollbars();
cx.set_global(ScrollbarAutoHide(should_auto_hide_scrollbars));