@thinkpixellab-public/px-vue 3.0.72 → 3.0.73

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.
@@ -117,11 +117,7 @@ export default {
117
117
 
118
118
  scrollToElement(el) {
119
119
  if (this.$refs.scroller) {
120
- console.log(`el.offsetLeft: ${el.offsetLeft}`);
121
-
122
- //const left = el.offsetLeft - this.$refs.scroller.offsetWidth;
123
120
  const left = el.offsetLeft - this.$refs.scroller.offsetWidth / 2;
124
-
125
121
  this.$refs.scroller.scrollTo({
126
122
  left: left,
127
123
  behavior: 'smooth',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thinkpixellab-public/px-vue",
3
- "version": "3.0.72",
3
+ "version": "3.0.73",
4
4
  "description": "General purpose Vue components and helpers that can be used across projects.",
5
5
  "author": "Pixel Lab",
6
6
  "license": "MIT",