Brush tool works with events
This commit is contained in:
parent
4814780bec
commit
e39c94ff19
8 changed files with 155 additions and 130 deletions
|
|
@ -15,7 +15,7 @@ struct BrushStrokeCanvasComponentPoint {
|
|||
|
||||
class BrushStrokeCanvasComponent : public CanvasComponent {
|
||||
public:
|
||||
constexpr static float DRAW_MINIMUM_LIMIT = 0.3;
|
||||
constexpr static float DRAW_MINIMUM_LIMIT = 0.7f;
|
||||
|
||||
virtual CanvasComponentType get_type() const override;
|
||||
virtual void save(cereal::PortableBinaryOutputArchive& a) const override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue