@blockquote-web-components/blockquote-base-embedded-webview 1.2.4 → 1.2.5

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockquote-web-components/blockquote-base-embedded-webview",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "description": "Webcomponent blockquote-base-embedded-webview following open-wc recommendations",
5
5
  "keywords": [
6
6
  "lit",
@@ -176,7 +176,7 @@
176
176
  "lit": "^2.0.2"
177
177
  },
178
178
  "devDependencies": {
179
- "@blockquote-web-components/blockquote-base-common-dev-dependencies": "^1.3.10",
179
+ "@blockquote-web-components/blockquote-base-common-dev-dependencies": "^1.3.11",
180
180
  "@blockquote-web-components/blockquote-foundations-sass": "^1.0.2",
181
181
  "@polymer/iron-test-helpers": "^3.0.1"
182
182
  },
@@ -184,5 +184,5 @@
184
184
  "access": "public"
185
185
  },
186
186
  "customElements": "custom-elements.json",
187
- "gitHead": "acc632ec676b642c21bd76670bbede575a8103f2"
187
+ "gitHead": "e5f6f8d66889e820fca1b4b4179177d623af0192"
188
188
  }
@@ -80,7 +80,6 @@ export class BlockquoteBaseEmbeddedWebviewResize extends LitElement {
80
80
 
81
81
  _doubleclickForCssInitialSize() {
82
82
  this.removeAttribute('style');
83
- // this._dispatchResizeEvent();
84
83
  }
85
84
 
86
85
  _createResizer(DOMRect) {
@@ -119,20 +118,20 @@ export class BlockquoteBaseEmbeddedWebviewResize extends LitElement {
119
118
  break;
120
119
  case 'top':
121
120
  this._cursor = 'n';
122
- cssOffsetY = `${this._getBoundingClientRectHeight + dy * 1}px`;
121
+ cssOffsetY = `${this._getBoundingClientRectHeight + dy}px`;
123
122
  this.style.setProperty('--blockquote-base-embedded-webview-resize-rect-height', cssOffsetY);
124
123
  break;
125
124
  case 'scaleTopLeft':
126
125
  this._cursor = 'ne';
127
126
  cssOffsetX = `${this._getBoundingClientRectWidth + dx}px`;
128
- cssOffsetY = `${this._getBoundingClientRectHeight + dy * 1}px`;
127
+ cssOffsetY = `${this._getBoundingClientRectHeight + dy}px`;
129
128
  this.style.setProperty('--blockquote-base-embedded-webview-resize-rect-width', cssOffsetX);
130
129
  this.style.setProperty('--blockquote-base-embedded-webview-resize-rect-height', cssOffsetY);
131
130
  break;
132
131
  case 'scaleTopRight':
133
132
  this._cursor = 'nw';
134
133
  cssOffsetX = `${this._getBoundingClientRectWidth - dx}px`;
135
- cssOffsetY = `${this._getBoundingClientRectHeight + dy * 1}px`;
134
+ cssOffsetY = `${this._getBoundingClientRectHeight + dy}px`;
136
135
  this.style.setProperty('--blockquote-base-embedded-webview-resize-rect-width', cssOffsetX);
137
136
  this.style.setProperty('--blockquote-base-embedded-webview-resize-rect-height', cssOffsetY);
138
137
  break;