-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arrows clip in and out of visibility #92
Comments
This is related to #71. The intent was never to make the arrow completely disappear, I did want it to be somewhat visible if it, say, barely clipped the label. But the arrow at the very bottom of the axis is pretty ugly. So I'll reduce the size of the arrows so they fit. However, it'll still be clip a little when it's lined up horizontally and the clipping will be more apparent at the top. See master (phettest) and let me know how it looks @DianaTavares |
Arrow clipping now lines up perfectly with the leftmost side of the y axis, this should make the most sense without having any stray pixels visually, closing. |
Looking at phetsims/qa#328. I saw that the point gets a little cut off now if close to the edge. I think this looks better than the alternative, so feel free to close if you agree @DianaTavares |
can the dot just be in front of the label black background? |
… shifted pointer areas accordingly, see #92
Was able to split up the dot and the arrows and put the arrows in front of the text label. I'll keep this open for testing. |
Looks good 1.0.0-rc.2 |
Should this be examined @DianaTavares? |
Do you mean that a tiny section fo the arrow still visible? I remember that @arnabp said that it is not a way to tell the arrow to disappears when it is outside the graph. For that reason, we put the background color to the value's label to cover the arrow. If we do that background bigger, it is going to cover part of the zero. Then I think that is ok the way it is now. |
Ok. Thanks for the clarification. |
Test device:
Dell
Operating System:
Win 10
Browser:
Firefox
Problem description:
For phetsims/qa#320. Fairly minor
When the graph value arrows go over the y-axis, the left disappears so it doesn't cover a number. However, in certain locations (mostly near the bottom of the graph) parts of it can still be seen.
Steps to reproduce:
Screenshots:
Troubleshooting information (do not edit):
Name: Blackbody Spectrum
URL: https://phet-dev.colorado.edu/html/blackbody-spectrum/1.0.0-dev.16/phet/blackbody-spectrum_en_phet.html
Version: 1.0.0-dev.16 2019-05-21 21:44:52 UTC
Flags: pixelRatioScaling
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0
Language: en-US
Window: 1536x750
Pixel Ratio: 2.5/1
WebGL: WebGL 1.0
GLSL: WebGL GLSL ES 1.0
Vendor: Mozilla (Mozilla)
Vertex: attribs: 16 varying: 30 uniform: 4096
Texture: size: 16384 imageUnits: 16 (vertex: 16, combined: 32)
Max viewport: 32767x32767
OES_texture_float: true
Dependencies JSON: {}
The text was updated successfully, but these errors were encountered: