forked from 1b-agent/opencadstudio-upstream
1 parent
282a5176af
commit
b0806679c9
6 files changed
+180
-23
No files matched your search
@@ -1499,6 +1499,7 @@ impl OpenCADStudio {
|
||||
allow_autocomplete,
|
||||
dyn_capturing,
|
||||
&self.history_content,
|
||||
self.win_size.1,
|
||||
);
|
||||
let center_stack: Element<'_, Message> = if tab.is_start {
|
||||
column![
|
||||
@@ -1534,6 +1535,16 @@ impl OpenCADStudio {
|
||||
.into()
|
||||
};
|
||||
|
||||
let center_stack: Element<'_, Message> = if self.command_history_resizing {
|
||||
mouse_area(center_stack)
|
||||
.on_move(Message::CommandHistoryResizeMove)
|
||||
.on_release(Message::CommandHistoryResizeRelease)
|
||||
.interaction(iced::mouse::Interaction::ResizingVertically)
|
||||
.into()
|
||||
} else {
|
||||
center_stack
|
||||
};
|
||||
|
||||
let main_ui = container({
|
||||
// Clean-screen mode drops the ribbon for a full-canvas view; the
|
||||
// status bar stays so the mode can be toggled back off.
|
||||
|
||||
Reference in new issue
Block a user