Fix / remove small todos
This commit is contained in:
parent
145f3f55e9
commit
80790d921d
11 changed files with 52 additions and 34 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue