Right click also exits placement mode

This commit is contained in:
ceikry 2023-03-12 14:02:00 -05:00
parent f0f21029f7
commit 8b32789b0f

View file

@ -135,6 +135,7 @@ class MapCell : JPanel() {
val def = MapTileParser.definition.getTile(point.x, point.y, Rs2MapEditor.plane)
val floDef = Rs2MapEditor.overlayMap[def.overlayId]!!
val cell = Rs2MapEditor.componentPointMap[point]!!
Rs2MapEditor.state = EditorState.NONE
val string = StringBuilder()
.append("<h2><b>Tile [${point.x}, ${point.y}] Information</b></h2><br>")
.append("<hr width=\"250px\"><br>")