Serverside, functional (ELM style) front-end and UI for Aardvark, an open-source platform for visual computing, real-time graphics and visualization.
48
stars
14
forks
source link
removed unneeded option around workingPolygon #30
Closed
TysonMN closed 4 years ago
In the
07 - Simple2DDrawing
example for .NET Core, the fieldModel.workingPolygon
was of typeOption<Polygon>
. https://github.com/aardvark-platform/aardvark.media/blob/52e130bbc8fc53cb025220e9650461b33de11776/src/Examples%20(dotnetcore)/07%20-%20Simple2DDrawing/Model.fs#L38-L49However, this field was never set to
None
. This PR removesOption<>
and simplifies the corresponding code appropriately.