1
0
Fork 0
mirror of https://github.com/heyarne/airsonic-ui.git synced 2026-05-07 02:33:39 +02:00

Make highres-canvas more reagent-y

This commit is contained in:
Arne Schlüter 2018-10-14 11:58:20 +02:00
commit 6a4bf53308
3 changed files with 4 additions and 4 deletions

View file

@ -51,7 +51,7 @@
(defn current-progress [current-time seekable duration]
[canvas {:class-name "current-progress-canvas"
:draw draw-progress} current-time seekable duration])
:draw #(draw-progress % current-time seekable duration)}])
;; FIXME: It's ugly to have the canvas padding and styling scattered everywhere (sass, drawing code above, and here)