Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions code-check-wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ for I in \
course_file_format.cpp \
crs_ \
duplicate_equals_t.cpp \
dynamic_object_query.cpp \
file_dialog.cpp \
/file_format.cpp \
file_format_t.cpp \
Expand Down
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ set(Mapper_Common_SRCS
core/virtual_path.cpp

core/objects/boolean_tool.cpp
core/objects/dynamic_object_query.cpp
core/objects/object.cpp
core/objects/object_mover.cpp
core/objects/object_query.cpp
Expand Down
4 changes: 4 additions & 0 deletions src/core/map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1114,6 +1114,10 @@ void Map::ensureVisibilityOfSelectedObjects(SelectionVisibility visibility)
widget->ensureVisibilityOfRect(rect, MapWidget::DiscreteZoom);
break;

case CenterFullVisibility:
widget->ensureVisibilityOfRect(rect, MapWidget::DiscreteZoom, true);
break;

case IgnoreVisibilty:
break; // Do nothing

Expand Down
1 change: 1 addition & 0 deletions src/core/map.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ friend class XMLFileExporter;
{
FullVisibility,
PartialVisibility,
CenterFullVisibility,
IgnoreVisibilty
};

Expand Down
Loading