diff options
| author | Henry Jameson <me@hjkos.com> | 2018-02-03 19:55:45 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2018-03-12 01:30:27 +0300 |
| commit | 3257991f4196cb6c2c77b3f81ec9f1850e243211 (patch) | |
| tree | d257c08c0fa7244fe01a5ca7fe0ed110e19f4b5d /src/components/still-image/still-image.vue | |
| parent | b10787d23ca645932e89383ebb39402d1eb84700 (diff) | |
unfinished fetch() version that doesn't work
Diffstat (limited to 'src/components/still-image/still-image.vue')
| -rw-r--r-- | src/components/still-image/still-image.vue | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/still-image/still-image.vue b/src/components/still-image/still-image.vue index fa086e51..cc426fff 100644 --- a/src/components/still-image/still-image.vue +++ b/src/components/still-image/still-image.vue @@ -1,7 +1,7 @@ <template> <div class='still-image' :class='{ animated: animated }' > <canvas ref="canvas" v-if="animated"></canvas> - <img ref="src" :src="src" :referrerpolicy="referrerpolicy" v-on:load="drawCanvas"/> + <img ref="src" :src="src" :referrerpolicy="referrerpolicy" v-on:load="onLoad"/> </div> </template> @@ -31,9 +31,10 @@ position: absolute; top: 5px; left: 5px; - background: rgba(255,255,255,.5); + background: rgba(127,127,127,.7); display: block; padding: 2px; + border-radius: 3px; z-index: 2; } } |
