duckylib 0.1.21 → 0.1.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25,12 +25,12 @@
25
25
  theme = getTheme();
26
26
  systemMode = browser ? window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : "dark";
27
27
  if(browser) {
28
- w = window.outerWidth
29
- h = window.outerHeight
28
+ w = window.innerWidth
29
+ h = window.innerHeight
30
30
 
31
31
  window.onresize = () => {
32
- w = window.outerWidth
33
- h = window.outerHeight
32
+ w = window.innerWidth
33
+ h = window.innerHeight
34
34
 
35
35
 
36
36
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "duckylib",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run prepack",