Small option property cleanup (#3577)

* Notify change listeners

I can't come up with a reason for why we would not want to do this

* Remove the Display Type for OptionProperty (only used in ImGui)

* Replace extra boolean with internal anonymous addOption function

* Tiny refactor

* removed dropdown on a couple of more places

* Update optionproperty.cpp

---------

Co-authored-by: ElonOlsson <olssonelon@gmail.com>
This commit is contained in:
Emma Broman
2025-04-02 09:28:11 +02:00
committed by GitHub
parent 80955e3ec1
commit eb709b830c
34 changed files with 115 additions and 236 deletions
+1 -4
View File
@@ -188,10 +188,7 @@ RenderableTrail::Appearance::Appearance()
, useLineFade(EnableFadeInfo, true)
, lineWidth(LineWidthInfo, 10.f, 1.f, 20.f)
, pointSize(PointSizeInfo, 1, 1, 64)
, renderingModes(
RenderingModeInfo,
properties::OptionProperty::DisplayType::Dropdown
)
, renderingModes(RenderingModeInfo)
, lineLength(LineLengthInfo, 1.f, 0.f, 1.f)
, lineFadeAmount(LineFadeAmountInfo, 1.f, 0.f, 1.f)
{