Fix drag icon

Former-commit-id: 96ef6c34a8
This commit is contained in:
virvar 2016-05-31 14:39:38 +03:00
parent 81055c30bd
commit cf897d235a
7 changed files with 12 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 244 B

After

Width:  |  Height:  |  Size: 151 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 B

After

Width:  |  Height:  |  Size: 120 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 250 B

After

Width:  |  Height:  |  Size: 145 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 426 B

After

Width:  |  Height:  |  Size: 187 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 482 B

After

Width:  |  Height:  |  Size: 223 B

View File

@ -13,10 +13,16 @@
{:height 16 {:height 16
:alignItems :center}) :alignItems :center})
(def drag-down-icon (def drag-container
{:width 16 {:width 16
:height 16 :height 16})
:opacity 0.4})
(def drag-icon
{:position :absolute
:top 6.5
:left 1
:width 14
:height 3})
(def command-icon-container (def command-icon-container
{:marginTop 1 {:marginTop 1

View File

@ -16,8 +16,8 @@
:onPress (fn [] :onPress (fn []
;; TODO drag up/down ;; TODO drag up/down
)} )}
[view nil [view st/drag-container
[icon :drag-white st/drag-down-icon]]]) [icon :drag-white st/drag-icon]]])
(defn command-icon [] (defn command-icon []
[view st/command-icon-container [view st/command-icon-container