Add Logarithmic sliders and Color picker (#1564)

* Pass ViewOptions meta data to WebUi

* Add Color ViewOption

* Add Logarithmic ViewOption

* Update gui hash to get slider and color picker UI features
This commit is contained in:
Emma Broman
2021-04-27 09:24:36 +02:00
committed by GitHub
parent 4353741c54
commit 8a30dc570e
13 changed files with 60 additions and 49 deletions
@@ -99,6 +99,7 @@ RenderableDisc::RenderableDisc(const ghoul::Dictionary& dictionary)
_texturePath.onChange([&]() { _texture->loadFromFile(_texturePath); });
addProperty(_texturePath);
_size.setViewOption(properties::Property::ViewOptions::Logarithmic);
_size = p.size.value_or(_size);
setBoundingSphere(_size);
_size.onChange([&]() { _planeIsDirty = true; });