Skip to content

Commit db6b9bb

Browse files
Revert "Add option to use absolute node margins"
The issue was fixed upstream (see paceholder#470) in commit 3ed0391. This reverts commit 551b609.
1 parent 02dfeae commit db6b9bb

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ option(BUILD_SHARED_LIBS "Build as shared library" ON)
3333
option(BUILD_DEBUG_POSTFIX_D "Append d suffix to debug libraries" OFF)
3434
option(QT_NODES_FORCE_TEST_COLOR "Force colorized unit test output" OFF)
3535
option(QT_NODES_REDUCED_SHAPE_MARGINS "Reduce the interaction margins of the nodes absolute instead of relative" OFF)
36-
option(QT_NODES_ABSOLUTE_BOUNDING_RECT_MARGINS "Make the drawing margins of the nodes absolute instead of relative" OFF)
3736
option(USE_QT6 "Build with Qt6 (Enabled by default)" ON)
3837

3938
if(QT_NODES_DEVELOPER_DEFAULTS)
@@ -164,7 +163,6 @@ target_compile_definitions(QtNodes
164163
NODE_EDITOR_EXPORTS
165164
#NODE_DEBUG_DRAWING
166165
$<$<BOOL:${QT_NODES_REDUCED_SHAPE_MARGINS}>:NODE_EDITOR_REDUCED_SHAPE_MARGINS>
167-
$<$<BOOL:${QT_NODES_ABSOLUTE_BOUNDING_RECT_MARGINS}>:NODE_EDITOR_ABSOLUTE_BOUNDING_RECT_MARGINS>
168166
QT_NO_KEYWORDS
169167
)
170168

0 commit comments

Comments
 (0)