You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When hovering over the "resize rect" of a non-resizeable node (bottom right in the default painting style) the cursor changes to Qt::SizeFDiagCursor even tough it is not resizeable.
Potential fix
A quick search led me to the following code snippet:
Instead of using a bitwise OR (|) one should use a bitwise AND (&) operation here, since 0x0 | 0x1 (i.e. QtNodes::NoFlags OR QtNodes::Resizable) will always return true.
@ anyone who is reading this and has some spare time feel free to open a PR and apply the fix for me 😇
Kind regards
The text was updated successfully, but these errors were encountered:
Summary
When hovering over the "resize rect" of a non-resizeable node (bottom right in the default painting style) the cursor changes to
Qt::SizeFDiagCursor
even tough it is not resizeable.Potential fix
A quick search led me to the following code snippet:
nodeeditor/src/NodeGraphicsObject.cpp
Lines 341 to 346 in 5465ddc
Instead of using a bitwise OR (
|
) one should use a bitwise AND (&
) operation here, since0x0 | 0x1
(i.e.QtNodes::NoFlags
ORQtNodes::Resizable
) will always return true.@ anyone who is reading this and has some spare time feel free to open a PR and apply the fix for me 😇
Kind regards
The text was updated successfully, but these errors were encountered: