浏览代码

Fix bug where map connections didn't visually update when switching back to the collision view

Marcus Huderle 6 年前
父节点
当前提交
37903a5acb
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      editor.cpp

+ 1
- 0
editor.cpp 查看文件

@@ -58,6 +58,7 @@ void Editor::setEditingMap() {
58 58
 void Editor::setEditingCollision() {
59 59
     current_view = collision_item;
60 60
     if (collision_item) {
61
+        displayMapConnections();
61 62
         collision_item->draw();
62 63
         collision_item->setVisible(true);
63 64
         setConnectionsVisibility(true);