Pārlūkot izejas kodu

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

Marcus Huderle 6 gadus atpakaļ
vecāks
revīzija
37903a5acb
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1
    0
      editor.cpp

+ 1
- 0
editor.cpp Parādīt failu

@@ -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);