ninegrid2 6.839.0 → 6.841.0

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.
@@ -121211,16 +121211,18 @@ class nxSplitter extends HTMLElement {
121211
121211
  let totalPadding = 0;
121212
121212
 
121213
121213
  while (el && el instanceof Element) {
121214
+ console.log(el);
121214
121215
  const style = getComputedStyle(el);
121215
121216
  totalPadding += parseFloat(style.paddingLeft) || 0;
121216
121217
  el = el.offsetParent;
121217
121218
  }
121218
121219
 
121219
- const left = e.clientX - parentRect.left + totalPadding;
121220
+ console.log(totalPadding, e.clientX, parentRect.left);
121220
121221
 
121222
+ const left = e.clientX - parentRect.left + totalPadding;
121221
121223
  const top = e.clientY - parentRect.top + paddingTop;
121222
121224
 
121223
- console.log("2------", left, top);
121225
+ console.log("3------", left, top);
121224
121226
 
121225
121227
  // 방향별 위치 설정
121226
121228
  if (this.#mode === "h") {
@@ -121207,16 +121207,18 @@ class nxSplitter extends HTMLElement {
121207
121207
  let totalPadding = 0;
121208
121208
 
121209
121209
  while (el && el instanceof Element) {
121210
+ console.log(el);
121210
121211
  const style = getComputedStyle(el);
121211
121212
  totalPadding += parseFloat(style.paddingLeft) || 0;
121212
121213
  el = el.offsetParent;
121213
121214
  }
121214
121215
 
121215
- const left = e.clientX - parentRect.left + totalPadding;
121216
+ console.log(totalPadding, e.clientX, parentRect.left);
121216
121217
 
121218
+ const left = e.clientX - parentRect.left + totalPadding;
121217
121219
  const top = e.clientY - parentRect.top + paddingTop;
121218
121220
 
121219
- console.log("2------", left, top);
121221
+ console.log("3------", left, top);
121220
121222
 
121221
121223
  // 방향별 위치 설정
121222
121224
  if (this.#mode === "h") {
@@ -66,16 +66,18 @@ class nxSplitter extends HTMLElement {
66
66
  let totalPadding = 0;
67
67
 
68
68
  while (el && el instanceof Element) {
69
+ console.log(el);
69
70
  const style = getComputedStyle(el);
70
71
  totalPadding += parseFloat(style.paddingLeft) || 0;
71
72
  el = el.offsetParent;
72
73
  }
73
74
 
74
- const left = e.clientX - parentRect.left + totalPadding;
75
+ console.log(totalPadding, e.clientX, parentRect.left);
75
76
 
77
+ const left = e.clientX - parentRect.left + totalPadding;
76
78
  const top = e.clientY - parentRect.top + paddingTop;
77
79
 
78
- console.log("2------", left, top);
80
+ console.log("3------", left, top);
79
81
 
80
82
  // 방향별 위치 설정
81
83
  if (this.#mode === "h") {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.839.0",
4
+ "version": "6.841.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -66,16 +66,18 @@ class nxSplitter extends HTMLElement {
66
66
  let totalPadding = 0;
67
67
 
68
68
  while (el && el instanceof Element) {
69
+ console.log(el);
69
70
  const style = getComputedStyle(el);
70
71
  totalPadding += parseFloat(style.paddingLeft) || 0;
71
72
  el = el.offsetParent;
72
73
  }
73
74
 
74
- const left = e.clientX - parentRect.left + totalPadding;
75
+ console.log(totalPadding, e.clientX, parentRect.left);
75
76
 
77
+ const left = e.clientX - parentRect.left + totalPadding;
76
78
  const top = e.clientY - parentRect.top + paddingTop;
77
79
 
78
- console.log("2------", left, top);
80
+ console.log("3------", left, top);
79
81
 
80
82
  // 방향별 위치 설정
81
83
  if (this.#mode === "h") {