File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -277,37 +277,21 @@ Window {
277277 id: settings3D
278278 anchors .fill : parent
279279 anchors .margins : 10
280- intensity .onPressedChanged : {
281- console .log (' intensity pressed/released' )
282- if (! intensity .pressed ) {
283- console .log (' RELEASED' )
284- updateLighting ()
285- }
286- }
287280
288- lightX .onPressedChanged : {
289- console .log (' intensity pressed/released' )
290- if (! lightX .pressed ) {
291- console .log (' RELEASED' )
292- updateLighting ()
293- }
281+ intensity .onMoved : {
282+ updateLighting ()
294283 }
295284
285+ lightX .onMoved : {
286+ updateLighting ()
287+ }
296288
297- lightY .onPressedChanged : {
298- console .log (' intensity pressed/released' )
299- if (! lightY .pressed ) {
300- console .log (' RELEASED' )
301- updateLighting ()
302- }
289+ lightY .onMoved : {
290+ updateLighting ()
303291 }
304292
305- lightZ .onPressedChanged : {
306- console .log (' intensity pressed/released' )
307- if (! lightZ .pressed ) {
308- console .log (' RELEASED' )
309- updateLighting ()
310- }
293+ lightZ .onMoved : {
294+ updateLighting ()
311295 }
312296 }
313297
You can’t perform that action at this time.
0 commit comments