Fix some issues with map connections after layout split

This commit is contained in:
GriffinR
2025-01-29 13:48:03 -05:00
parent de78a1172d
commit 5a6d5ea929
8 changed files with 57 additions and 100 deletions

View File

@@ -90,7 +90,7 @@ int Map::getBorderHeight() const {
// Get the portion of the map that can be rendered when rendered as a map connection.
// Cardinal connections render the nearest segment of their map and within the bounds of the border draw distance,
// Dive/Emerge connections are rendered normally within the bounds of their parent map.
QRect Map::getConnectionRect(const QString &direction, Layout * fromLayout) {
QRect Map::getConnectionRect(const QString &direction, Layout * fromLayout) const {
int x = 0, y = 0;
int w = getWidth(), h = getHeight();