@@ -63,9 +63,9 @@ export class Slider extends View {
6363 @cssProperty thumbColor : Color ;
6464 @cssProperty stepSize : number ;
6565 @cssProperty elevation : number ;
66- _supressNativeValue : boolean ;
67- _canChangeValues : boolean = true ;
68- _needUpdate : boolean = true ;
66+ mSupressNativeValue : boolean ;
67+ mCanChangeValues : boolean = true ;
68+ mNeedUpdate : boolean = true ;
6969 public value : number ;
7070 public minValue : number ;
7171 public maxValue : number ;
@@ -135,12 +135,12 @@ export class Slider extends View {
135135 this . nativeViewProtected . setStepSize ( value ) ;
136136 }
137137 updateValues ( ) {
138- if ( ! this . _canChangeValues ) {
139- console . log ( 'test1' )
140- this . _needUpdate = true ;
138+ if ( ! this . mCanChangeValues ) {
139+ console . log ( 'test1' ) ;
140+ this . mNeedUpdate = true ;
141141 return ;
142142 }
143- console . log ( 'test2' )
143+ console . log ( 'test2' ) ;
144144 const min = this . minValue || DEFAULT_MIN ;
145145 const max = this . maxValue || DEFAULT_MAX ;
146146 this . nativeViewProtected . setValueFrom ( min ) ;
@@ -153,11 +153,11 @@ export class Slider extends View {
153153
154154 public onResumeNativeUpdates ( ) : void {
155155 // {N} suspends properties update on `_suspendNativeUpdates`. So we only need to do this in onResumeNativeUpdates
156- this . _canChangeValues = false ;
156+ this . mCanChangeValues = false ;
157157 super . onResumeNativeUpdates ( ) ;
158- this . _canChangeValues = true ;
159- if ( this . _needUpdate ) {
160- this . _needUpdate = false ;
158+ this . mCanChangeValues = true ;
159+ if ( this . mNeedUpdate ) {
160+ this . mNeedUpdate = false ;
161161 this . updateValues ( ) ;
162162 }
163163 }
0 commit comments