File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/uui-button-inline-create/lib Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ export class UUIButtonInlineCreateElement extends LitElement {
174
174
] ;
175
175
176
176
@state ( )
177
- position = 0 ;
177
+ private _position = 0 ;
178
178
179
179
/**
180
180
* Label to be used for aria-label and eventually as visual label
@@ -193,7 +193,7 @@ export class UUIButtonInlineCreateElement extends LitElement {
193
193
vertical = false ;
194
194
195
195
private _onMouseMove ( e : MouseEvent ) {
196
- this . position = this . vertical ? e . offsetY : e . offsetX ;
196
+ this . _position = this . vertical ? e . offsetY : e . offsetX ;
197
197
}
198
198
199
199
private _handleClick ( e : MouseEvent ) {
@@ -215,8 +215,8 @@ export class UUIButtonInlineCreateElement extends LitElement {
215
215
< div
216
216
id ="plus "
217
217
style =${ styleMap ( {
218
- left : this . vertical ? '' : this . position + 'px' ,
219
- top : this . vertical ? this . position + 'px' : '' ,
218
+ left : this . vertical ? '' : this . _position + 'px' ,
219
+ top : this . vertical ? this . _position + 'px' : '' ,
220
220
} ) } >
221
221
< svg
222
222
id ="plus-icon "
You can’t perform that action at this time.
0 commit comments