Fix #1697 copy paste overlay remains after switching tool

This commit is contained in:
JannisX11 2023-01-11 15:53:12 +01:00
parent a171ae2c79
commit 9a683c0ff8

View File

@ -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()
}
}
})