VDrawable: Fix initial value of an enum
authorJunsuChoi <jsuya.choi@samsung.com>
Wed, 30 Oct 2019 11:23:32 +0000 (20:23 +0900)
committerJongmin Lee <jm105.lee@samsung.com>
Mon, 11 Nov 2019 20:58:15 +0000 (05:58 +0900)
src/vector/vdrawable.h

index 05e5290..6120efc 100644 (file)
 class VDrawable {
 public:
     enum class DirtyState : unsigned char {
-        None = 1<<1,
-        Path = 1<<2,
-        Stroke = 1<<3,
-        Brush = 1<<4,
-        All = (None | Path | Stroke | Brush)
+        None = 1<<0,
+        Path = 1<<1,
+        Stroke = 1<<2,
+        Brush = 1<<3,
+        All = (Path | Stroke | Brush)
     };
 
     enum class Type : unsigned char{