diff --git a/src/imgui/window/frame_properties.cpp b/src/imgui/window/frame_properties.cpp index c242041..25c05b6 100644 --- a/src/imgui/window/frame_properties.cpp +++ b/src/imgui/window/frame_properties.cpp @@ -85,7 +85,7 @@ namespace anm2ed::imgui auto sounds = document.choices_get(SelectionKind::SOUNDS); auto shaders = document.choices_get(SelectionKind::SHADERS); std::vector interpolationLabels{}; - for (auto label : INTERPOLATION_LABELS) + for (auto label : wizard::INTERPOLATION_LABELS) interpolationLabels.push_back(localize.get(label)); auto mode_selector_draw = [&]() diff --git a/src/imgui/wizard/change_all_frame_properties.hpp b/src/imgui/wizard/change_all_frame_properties.hpp index 60fb2cc..9b56b53 100644 --- a/src/imgui/wizard/change_all_frame_properties.hpp +++ b/src/imgui/wizard/change_all_frame_properties.hpp @@ -6,6 +6,9 @@ namespace anm2ed::imgui::wizard { + inline constexpr StringType INTERPOLATION_LABELS[] = {BASIC_NONE, BASIC_LINEAR, BASIC_EASE_IN, BASIC_EASE_OUT, + BASIC_EASE_IN_OUT}; + class ChangeAllFrameProperties { public: diff --git a/src/model/common.hpp b/src/model/common.hpp index d691bb9..164ab11 100644 --- a/src/model/common.hpp +++ b/src/model/common.hpp @@ -191,9 +191,6 @@ namespace anm2ed std::optional isFlipY{}; }; - inline constexpr StringType INTERPOLATION_LABELS[] = {BASIC_NONE, BASIC_LINEAR, BASIC_EASE_IN, BASIC_EASE_OUT, - BASIC_EASE_IN_OUT}; - struct Reference { int animationIndex{-1};