editor has separate window now
This commit is contained in:
@@ -182,6 +182,13 @@ impl eframe::App for Interface {
|
||||
// Top bar with actions
|
||||
egui::TopBottomPanel::top("top").show(ctx, |ui| {
|
||||
ui.horizontal(|ui| {
|
||||
// Open Markdown Editor button
|
||||
if ui.button("📝 Open Editor").clicked() {
|
||||
self.editor.show_editor = true;
|
||||
}
|
||||
|
||||
ui.separator();
|
||||
|
||||
// create new template
|
||||
if ui.button("New Template").clicked() {
|
||||
self.right_panel_content = RightPanelContent::Template {
|
||||
|
||||
Reference in New Issue
Block a user