-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
**JIRA Issue:** Fixes SIM-15143 **Description:** No longer relying on a size comparison to confirm that mainview/superhud should resize, and instead relying on the graphics context of the window sending the resize event. This fixes a bug in Basic Viewer where the border node is incorrectly placed after a resize, if using IMGUI. **Notes:** Using the size to compare works only when we know the exact size, and it was a shortcut to just comparing graphics contexts. **Testing Performed:** BasicViewer with and without IMGUI, creating inset then resizing view. SIMDIS with an inset and resizing, no problems before or after. Also tested with Qt View Manager Model test, where we have multiple graphics contexts.
- Loading branch information
Daniel Emminizer
committed
Feb 24, 2023
1 parent
bd33658
commit ead1470
Showing
3 changed files
with
17 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters