Skip to content

Commit

Permalink
Merge pull request #60 from xpadev-net/refactor/enable-lazy-locator
Browse files Browse the repository at this point in the history
[改善] 遅延配置を有効化
  • Loading branch information
xpadev-net authored Jan 14, 2024
2 parents 8cd08a6 + 14ff174 commit 8161b58
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@fontsource/roboto": "^5.0.8",
"@mui/icons-material": "^5.14.19",
"@mui/material": "^5.14.20",
"@xpadev-net/niconicomments": "^0.2.69",
"@xpadev-net/niconicomments": "^0.2.70",
"axios": "^1.6.2",
"electron-log": "^5.0.2",
"electron-store": "^8.1.0",
Expand Down
1 change: 1 addition & 0 deletions src/renderer/renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ const startRenderer = async (): Promise<void> => {
const nico = new NiconiComments(canvas, data, {
...queue.option.options,
format,
lazy: true,
});
const emptyBuffer: Blob | null = await new Promise((resolve) =>
canvas.toBlob((blob) => resolve(blob)),
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1202,10 +1202,10 @@
resolved "https://registry.yarnpkg.com/@xmldom/xmldom/-/xmldom-0.8.10.tgz#a1337ca426aa61cef9fe15b5b28e340a72f6fa99"
integrity sha512-2WALfTl4xo2SkGCYRt6rDTFfk9R1czmBvUQy12gK2KuRKIpWEhcbbzy8EZXtz/jkRqHX8bFEc6FC1HjX4TUWYw==

"@xpadev-net/niconicomments@^0.2.69":
version "0.2.69"
resolved "https://registry.yarnpkg.com/@xpadev-net/niconicomments/-/niconicomments-0.2.69.tgz#799e252df20fb9107235f07a0a9b94df73159ac6"
integrity sha512-FavOi9Wy/0nPHsWmBMaTaRnAKDgmqYrMqolYtCcwrE54wKPeXv6RYIbuqzkcXeqAJb/sMMUW4Qf27cnOCFp4aA==
"@xpadev-net/niconicomments@^0.2.70":
version "0.2.70"
resolved "https://registry.yarnpkg.com/@xpadev-net/niconicomments/-/niconicomments-0.2.70.tgz#3c147eb21bfad1678bb8a273168d6a4fbb4b8450"
integrity sha512-OfPXOm3XUZfTXOf4MLOA4u6vOxw6i5YbbpWxkW9Vz4w7+3LkC6LzgsL2wgaEOwb+kRau7+c/Ute9eQ4duZee3Q==

abbrev@1:
version "1.1.1"
Expand Down

0 comments on commit 8161b58

Please sign in to comment.