Fix recording and playback issues
- Fix download filename handling in converter and export functions - Make updateRecordCanvas return Promise to handle async loadFromJSON correctly - Add setCoords() call in setObjectValue to fix object selection after updates - Update recorder initialization and animation frame handling Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -988,6 +988,11 @@ var canvasrecord = new fabric.Canvas('canvasrecord', {
|
||||
backgroundColor: '#FFF',
|
||||
width: artboard.width,
|
||||
height: artboard.height,
|
||||
// Objects are repositioned to artboard-relative coordinates while
|
||||
// recording. Their cached aCoords are not always refreshed in step, and
|
||||
// fabric's offscreen culling would then skip drawing them entirely,
|
||||
// producing blank frames.
|
||||
skipOffscreen: false,
|
||||
});
|
||||
|
||||
var timelineslider = document.getElementById('timeline-zoom');
|
||||
|
||||
Reference in New Issue
Block a user