File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -326,14 +326,13 @@ export class NgmCamConfiguration extends LitElementI18n {
326
326
< div class ="ngm-cam-conf-slider ">
327
327
< div >
328
328
< label > ${ c . label ( ) } </ label >
329
- < input style ="border: none;padding: 0; width: 50%; background-color: unset; justify-items: end "
330
- type ="number "
329
+ < input type ="number " class ="ngm-cam-conf-number-input "
331
330
min ="${ c . minInputValue ?? c . minValue } "
332
331
max ="${ c . maxInputValue ?? c . maxValue } "
333
332
step ="${ c . inputStep ?? c . step } "
334
333
.value =${ c . getInputValue ? c . getInputValue ( ) : c . getValue ( ) }
335
334
@input =${ c . onInputChange ? c . onInputChange : c . onSliderChange }
336
-
335
+
337
336
/>
338
337
</ div >
339
338
< input type ="range " class ="ngm-slider " style =${ styleMap ( c . style ( ) ) }
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ export class NgmCamCoordinates extends LitElementI18n {
97
97
}
98
98
99
99
render ( ) {
100
- if ( ! this . coordinates ?? ! this . coordinates [ this . key ] ) {
100
+ if ( ! this . coordinates || ! this . coordinates [ this . key ] ) {
101
101
return '' ;
102
102
}
103
103
const c = this . coordinates [ this . key ] ;
Original file line number Diff line number Diff line change @@ -45,6 +45,14 @@ ngm-cam-configuration {
45
45
width : 100% ;
46
46
}
47
47
48
+ .ngm-cam-conf-number-input {
49
+ border : none;
50
+ padding : 0 ;
51
+ width : 50% ;
52
+ background-color : unset;
53
+ justify-items : end
54
+ }
55
+
48
56
.ngm-cam-coord {
49
57
display : flex;
50
58
flex-direction : column;
You can’t perform that action at this time.
0 commit comments