ODINv2 icon indicating copy to clipboard operation
ODINv2 copied to clipboard

command palette should change symbol type on select (+enter) instead of focus/hover

Open ThomasHalwax opened this issue 2 years ago • 1 comments

When using the command palette the symbols change immediately. This may lead to unwanted changes since the change gets applied even if one scrolls the list of symbols available. The only way back is the UNDO function.

We should only apply the change upon a user interaction like an explicit click on a symbol.

ThomasHalwax avatar Mar 02 '23 11:03 ThomasHalwax

This is meant as a preview which is especially useful for tactical graphics. FYI: When command palette is closed with ESCAPE key, the symbol is reverted to the original.

If that's not good enough we should indeed only change the symbol on the map if the focused palette entry is selected by ENTER key or mouse click. But bear in mind, that same mechanism is used for other properties like hostility state, line smoothing and others. On a technical level, it's probably possible to handle this case differently, but results in a somewhat inconsistent behavior.

dehmer avatar Mar 02 '23 14:03 dehmer