Skip to content

Conversation

GeorgeSheppard
Copy link
Contributor

Minor update, to make the LED in the web look more similar to the size in CS-Studio, a fixed value of 5 pixels is subtracted from the value received from the .opi file. Tests have then been updated.

…g a fixed value from the size received from the synoptic.opi
@GeorgeSheppard
Copy link
Contributor Author

I should add that I don't like having to subtract 5 pixels like this, but the slightly more complicated design of the LED in CS-Studio means the sizes are out of sync. In CS-Studio the LED has a small border that transitions between the LED and the background (and causes this size discrepancy), which is on my TODO list to implement so I don't have to subtract these 5 pixels like this.

@willrogers willrogers merged commit 912d1fb into master Oct 22, 2020
@willrogers willrogers deleted the led-updates branch October 22, 2020 15:19
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.

2 participants