mirror of
https://github.com/ArnoldSmith86/virtualtabletop.git
synced 2026-03-02 22:57:02 -05:00
Enlarged widget does not show canvas content #519
Labels
No labels
PCIO compatibility
Validator
automated testing
bug
documentation
duplicate
editor
enhancement
enhancement
library
library
maintenance
needs legacy server
pile related
reported client crash
routine operations
user interface
widget properties
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/virtualtabletop#519
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @robartsd on GitHub (May 3, 2022).
When cloning a canvas element, the image content is not cloned - it should be copied using the new canvas element's drawImage() method.
We should be able to fix this fairly easily for enlarged canvas widgets, but it would be trickier to fix it for a canvas child of an enlarged widget.
@96LawDawg commented on GitHub (May 3, 2022):
The OCD side of me that wants everything to be the same says do the fix for canvas children. But don't listen to that. Personally, I don't even need this now since I found a workaround (although I could and would implement it in the room I'm working on). So just making an enlarged canvas widget work at all would be fine.
@robartsd commented on GitHub (May 3, 2022):
I think I figured out a way to make it easy enough to deal with child canvas.