Permalink
Browse files

JSCanvas: missing float

  • Loading branch information...
paraboul committed Apr 19, 2017
1 parent 2e77240 commit 0a51ef73cae8d4555656351e05e1359f7bca9206
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/Graphics/CanvasHandler.h
@@ -140,7 +140,7 @@ class CanvasHandlerBase
return m_AlternativeValue;
}
inline operator T() const {
return get();
}
@@ -211,7 +211,7 @@ class CanvasHandlerBase
CANVAS_DEF_CLASS_PROPERTY(Flex, bool, false, State::kDefault);
CANVAS_DEF_CLASS_PROPERTY(EventReceiver,bool, true, State::kDefault);
CANVAS_DEF_CLASS_PROPERTY(Opacity, double, 1.0, State::kDefault);
CANVAS_DEF_CLASS_PROPERTY(Opacity, float, 1.0, State::kDefault);
virtual CanvasHandlerBase *getParentBase()=0;
};
@@ -567,7 +567,7 @@ class CanvasHandler : public CanvasHandlerBase, public Core::Events
bool isDisplayed() const;
bool isHidden() const;
bool hasAFixedAncestor() const;
void setPropOpacity(double val) override;
void setPropOpacity(float val) override;
void setZoom(double val);
void removeFromParent(bool willBeAdopted = false);
void getChildren(CanvasHandler **out) const;

0 comments on commit 0a51ef7

Please sign in to comment.