Refactor code editor layout configuration
Move the `.frame(false)` call to after `.desired_width(f32::INFINITY)` for better readability.
This commit is contained in:
+2
-2
@@ -491,8 +491,8 @@ impl eframe::App for CompilerApp {
|
|||||||
.hint_text("Ready to compile...")
|
.hint_text("Ready to compile...")
|
||||||
.code_editor()
|
.code_editor()
|
||||||
.lock_focus(false)
|
.lock_focus(false)
|
||||||
.frame(false)
|
.desired_width(f32::INFINITY)
|
||||||
.desired_width(f32::INFINITY),
|
.frame(false),
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user