-
-
Notifications
You must be signed in to change notification settings - Fork 665
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: watermark #3751
feat: watermark #3751
Conversation
View Deployment
|
Playwright test resultsDetails 17 tests across 8 suites |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
README of this plugin is empty.
@@ -87,6 +87,7 @@ export class SheetsRenderService extends RxDisposable { | |||
this._renderManagerService.created$.subscribe((renderer) => { | |||
if (renderer.unitId === unitId) { | |||
renderer.engine.getCanvas().setId(SHEET_MAIN_CANVAS_ID); | |||
renderer.engine.getCanvas().getContext().setId(SHEET_MAIN_CANVAS_ID); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There may be multi renderers on the same webpage.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here only set id to the main canvas
packages/watermark/src/commands/operations/OpenWatermarkPanelOperation.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. An e2e visual comparison test would be better.
close #xxx
Pull Request Checklist