mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-11 19:35:38 -05:00
Fix some issues with map connections after layout split
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user