Skip to content

Commit

Permalink
SafariでQuickControllerが表示されないのを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
tasuren committed Jan 17, 2025
1 parent 481b214 commit 5223742
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/paper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ export class Paper {

if (range) {
const setRange = this.rangeState[1];
// ここで一旦undefinedを入れなければ、Safariで上手く動かない。
// TODO: どうにかしたい。
setRange(undefined);
setRange(range);

const setSelectedContents = this.selectedContentsState[1];
Expand Down

0 comments on commit 5223742

Please sign in to comment.