forked from 1b-agent/opencadstudio-upstream
Command line: hovered history lines stay until the pointer leaves
Lines still showing when the pointer reaches the overlay history no longer fade under it; leaving restarts their COMMANDLINEFADETIME. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
2c329b2889
commit
ec603f1c8f
3 files changed
+51
-11
No files matched your search
@@ -3059,6 +3059,8 @@ pub enum Message {
|
||||
/// User clicked a command-line option button — feed its keyword to the
|
||||
/// active command as if typed (empty keyword = Enter). (#304)
|
||||
CommandOptionPick(String),
|
||||
/// The pointer entered (true) or left the command line's overlay history.
|
||||
CommandHistoryHover(bool),
|
||||
ToggleLayers,
|
||||
/// Open/focus (or close) the Reference Manager palette.
|
||||
ToggleXrefManager,
|
||||
|
||||
@@ -2857,6 +2857,11 @@ impl OpenCADStudio {
|
||||
self.focus_cmd_input()
|
||||
}
|
||||
|
||||
Message::CommandHistoryHover(hovered) => {
|
||||
self.command_line.set_history_hover(hovered);
|
||||
Task::none()
|
||||
}
|
||||
|
||||
Message::CommandHistoryToggle => {
|
||||
self.command_line.toggle_history();
|
||||
if !self.command_line.history_open {
|
||||
|
||||
Reference in new issue
Block a user