Skip to content

photoresistor moon not moving with the sun and the slider#558

Open
kghs-aver wants to merge 1 commit intofrg-fossee:developfrom
kghs-aver:ui-bug-photoresistor
Open

photoresistor moon not moving with the sun and the slider#558
kghs-aver wants to merge 1 commit intofrg-fossee:developfrom
kghs-aver:ui-bug-photoresistor

Conversation

@kghs-aver
Copy link

Problem: When the photoresistor moves, the moon does not move along with the sun and the slider. The moon SVG was larger than the sun SVG, and scaling was applied to reduce its size. This scaling caused the moon's movement to appear smaller, leading to unsynchronized motion with the sun and slider.
Steps taken to solve:

  • Adjusted moon SVG size to match sun's proportions.
    
  • Updated translation formula to ensure synchronized movement.
    

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant