mirror of
https://github.com/VladimirMarkelov/clui.git
synced 2025-04-26 13:49:01 +08:00
it was not possible to select non-active window with mouse even if a top window is not modal one
This commit is contained in:
parent
b4235b65f2
commit
b1dea556bb
@ -450,7 +450,10 @@ func (c *Composer) processMouse(ev Event) {
|
||||
|
||||
return
|
||||
}
|
||||
}
|
||||
} else if !c.topWindow().Modal() {
|
||||
c.activateWindow(view)
|
||||
return
|
||||
}
|
||||
|
||||
if ev.Key == term.MouseLeft {
|
||||
c.lastX = ev.X
|
||||
|
Loading…
x
Reference in New Issue
Block a user