mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
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:
@@ -106,7 +106,7 @@ documentation::Documentation RenderableDistanceLabel::Documentation() {
|
||||
RenderableDistanceLabel::RenderableDistanceLabel(const ghoul::Dictionary& dictionary)
|
||||
: RenderableLabel(dictionary)
|
||||
, _nodelineId(NodeLineInfo)
|
||||
, _distanceUnit(DistanceUnitInfo, properties::OptionProperty::DisplayType::Dropdown)
|
||||
, _distanceUnit(DistanceUnitInfo)
|
||||
, _customUnitDescriptor(CustomUnitDescriptorInfo)
|
||||
, _precision(PrecisionInfo, 0, 0, 10)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user