diff options
| author | Terry Truong <terry06890@gmail.com> | 2023-01-13 18:56:04 +1100 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2023-01-13 18:56:04 +1100 |
| commit | 3029a2f866b240856518cfa944b9e00ef37455db (patch) | |
| tree | 0c9dcfaa065d346060de69779523aef66d62d6d4 /src/components | |
| parent | d335df85ea815d10df62a126067482e178e3670a (diff) | |
Re-enable images
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/TimeLine.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/TimeLine.vue b/src/components/TimeLine.vue index e46472b..6d0f632 100644 --- a/src/components/TimeLine.vue +++ b/src/components/TimeLine.vue @@ -80,7 +80,7 @@ import CloseIcon from './icon/CloseIcon.vue'; import {WRITING_MODE_HORZ, MIN_DATE, MAX_DATE, MONTH_SCALE, DAY_SCALE, SCALES, MONTH_NAMES, MIN_CAL_DATE, getDaysInMonth, HistDate, stepDate, getScaleRatio, getNumSubUnits, getUnitDiff, getEventPrecision, dateToUnit, dateToScaleDate, - moduloPositive, TimelineState, HistEvent} from '../lib'; + moduloPositive, TimelineState, HistEvent, getImagePath} from '../lib'; import {useStore} from '../store'; import {RBTree} from '../rbtree'; @@ -1288,7 +1288,7 @@ function eventImgStyles(eventId: number){ return { width: store.eventImgSz + 'px', height: store.eventImgSz + 'px', - //backgroundImage: `url(${getImagePath(event.imgId)})`, + backgroundImage: `url(${getImagePath(event.imgId)})`, backgroundColor: 'black', backgroundSize: 'cover', borderColor: color, |
