mirror of
https://github.com/JannisX11/blockbench.git
synced 2025-01-30 15:42:42 +08:00
Fix #1697 copy paste overlay remains after switching tool
This commit is contained in:
parent
a171ae2c79
commit
9a683c0ff8
@ -2057,6 +2057,11 @@ BARS.defineActions(function() {
|
||||
if (data && data.element) {
|
||||
Blockbench.showQuickMessage('message.copy_paste_tool_viewport')
|
||||
}
|
||||
},
|
||||
onUnselect() {
|
||||
if (Painter.selection.overlay && open_interface) {
|
||||
open_interface.confirm()
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user