@@ -29,7 +29,7 @@ export component CameraSettingDialog inherits Dialog {
2929
3030 in property <length > inner-height : Theme.default-height * 0.8 ;
3131
32- private property < SettingCamera > cache -setting ;
32+ private property cache-setting <=> Store.camera -setting-cache ;
3333 private property <bool > is-camera-playing : true ;
3434
3535 public function get () -> SettingCamera {
@@ -113,8 +113,8 @@ export component CameraSettingDialog inherits Dialog {
113113 y : clamp(camera-img.y + camera-img.height * cache-setting.rect-cropping-y, camera-img.y, camera-img.y + camera-img.height - self .height);
114114 width : camera-img.width * cache-setting.rect-cropping-width / camera-img.source.width;
115115 height : camera-img.height * cache-setting.rect-cropping-height / camera-img.source.height;
116- border-width : cache-setting.border-size * 1px ;
117- border-color : Store.camera-cropping-area-border-colors[cache-setting.border-color-index] ;
116+ border-width : 2px ;
117+ border-color : white ;
118118
119119 TouchArea {
120120 mouse-cursor : move;
@@ -135,8 +135,8 @@ export component CameraSettingDialog inherits Dialog {
135135 width : camera-img.width * cache-setting.circle-cropping-radius / camera-img.source.width;
136136 height : self .width;
137137 border-radius : self .width / 2 ;
138- border-width : cache-setting.border-size * 1px ;
139- border-color : Store.camera-cropping-area-border-colors[cache-setting.border-color-index] ;
138+ border-width : 2px ;
139+ border-color : white ;
140140
141141 TouchArea {
142142 mouse-cursor : move;
@@ -187,7 +187,7 @@ export component CameraSettingDialog inherits Dialog {
187187 TouchArea {
188188 clicked => {
189189 is-camera-playing = true ;
190- Logic.camera-setting-dialog-start-playing (Store.setting-control.camera, cache-setting );
190+ Logic.camera-setting-dialog-start-playing (Store.setting-control.camera);
191191 }
192192 }
193193 }
0 commit comments