From de43a709bdf1c8894deff25dc29736002745bf9f Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Sun, 29 Jun 2025 04:47:28 -0500 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Kacper Donat --- src/Mod/CAM/PathSimulator/AppGL/GuiDisplay.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Mod/CAM/PathSimulator/AppGL/GuiDisplay.cpp b/src/Mod/CAM/PathSimulator/AppGL/GuiDisplay.cpp index 2a9241b4d0..24ce02f1f1 100644 --- a/src/Mod/CAM/PathSimulator/AppGL/GuiDisplay.cpp +++ b/src/Mod/CAM/PathSimulator/AppGL/GuiDisplay.cpp @@ -32,6 +32,7 @@ using namespace MillSim; // clang-format off +// NOLINTBEGIN(*-magic-numbers) GuiItem guiItems[] = { {.name=eGuiItemSlider, .vbo=0, .vao=0, .sx=28, .sy=-80, .actionKey=0, .hidden=false, .flags=0}, {.name=eGuiItemThumb, .vbo=0, .vao=0, .sx=328, .sy=-94, .actionKey=1, .hidden=false, .flags=0}, @@ -52,6 +53,7 @@ GuiItem guiItems[] = { {.name=eGuiItemView, .vbo=0, .vao=0, .sx=-180, .sy=-50, .actionKey='V', .hidden=false, .flags=0}, {.name=eGuiItemHome, .vbo=0, .vao=0, .sx=-220, .sy=-50, .actionKey='H', .hidden=false, .flags=0}, }; +// NOLINTEND(*-magic-numbers) // clang-format on #define NUM_GUI_ITEMS (sizeof(guiItems) / sizeof(GuiItem))