Skip to content

Commit fce6035

Browse files
committed
fix(timeline): use pixi with canvas fallback when WebGL isn't available
1 parent 8b2360e commit fce6035

File tree

3 files changed

+459
-346
lines changed

3 files changed

+459
-346
lines changed

packages/app-frontend/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
"version": "0.0.0",
44
"private": true,
55
"dependencies": {
6-
"@pixi/unsafe-eval": "^5.3.3",
6+
"@pixi/unsafe-eval": "^5.3.7",
77
"@vue-devtools/shared-utils": "^0.0.0",
88
"@vue/composition-api": "^0.6.7",
99
"@vue/ui": "^0.11.6",
1010
"circular-json-es6": "^2.0.2",
1111
"d3": "^5.16.0",
1212
"lodash": "^4.17.15",
1313
"lru-cache": "^5.1.1",
14-
"pixi.js": "^5.3.3",
14+
"pixi.js-legacy": "^5.3.7",
1515
"portal-vue": "^2.1.7",
1616
"stylus": "^0.54.7",
1717
"stylus-loader": "^3.0.2",

packages/app-frontend/src/features/timeline/TimelineView.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script>
2-
import * as PIXI from 'pixi.js'
2+
import * as PIXI from 'pixi.js-legacy'
33
import { install as installUnsafeEval } from '@pixi/unsafe-eval'
4-
import { ref, onMounted, onUnmounted, watch, watchEffect, computed } from '@vue/composition-api'
4+
import { ref, onMounted, onUnmounted, watch, watchEffect } from '@vue/composition-api'
55
import { useLayers, useTime, useSelectedEvent, onTimelineReset, onEventAdd, useCursor } from '.'
66
import Vue from 'vue'
77
import { useApps } from '../apps'

0 commit comments

Comments
 (0)