Fix toolbox hotkey chart selection and toolbox resize display bug (#267)

This commit is contained in:
louisnw
2024-02-24 13:01:37 +00:00
parent e199e54c7a
commit 745c14bb7f
3 changed files with 21 additions and 8 deletions

View File

@ -117,6 +117,11 @@ if (!window.ToolBox) {
this.chart.activeIcon.action(true)
})
this.chart.commandFunctions.push((event) => {
if (this.chart !== window.selectedChart) {
return
}
if (event.altKey && event.code === keyCmd) {
event.preventDefault()
if (this.chart.activeIcon) {