Skip to content

Commit

Permalink
Added flag drawForObjectUnderCursor (used in netedit). Refs #13894
Browse files Browse the repository at this point in the history
  • Loading branch information
palvarezlopez committed Dec 19, 2023
1 parent c159935 commit 7e8f7cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/gui/settings/GUIVisualizationSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,7 @@ GUIVisualizationSettings::GUIVisualizationSettings(const std::string& _name, boo
gaming(false),
drawBoundaries(false),
selectorFrameScale(1.),
drawForObjectUnderCursor(false),
drawForRectangleSelection(false),
forceDrawForRectangleSelection(false),
postDrawing(false),
Expand Down
3 changes: 3 additions & 0 deletions src/utils/gui/settings/GUIVisualizationSettings.h
Original file line number Diff line number Diff line change
Expand Up @@ -997,6 +997,9 @@ class GUIVisualizationSettings {
/// @brief the current selection scaling in netedit (set in SelectorFrame)
double selectorFrameScale;

/// @brief whether drawing is performed for the purpose of selecting objects under cursor
bool drawForObjectUnderCursor;

/// @brief whether drawing is performed for the purpose of selecting objects using a rectangle
bool drawForRectangleSelection;

Expand Down

0 comments on commit 7e8f7cb

Please sign in to comment.