Skip to content

Render WebGL markers that have only one of width and height zero #13482

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

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

ianthomas23
Copy link
Member

This fixes WebGL rendering of markers (fixed-shape glyphs) so that they are not displayed if both width and height are zero, but they are displayed if just one of width and height is zero and the other is positive.

@mattpap mattpap added this to the 3.4 milestone Oct 24, 2023
@codecov
Copy link

codecov bot commented Oct 24, 2023

Codecov Report

Merging #13482 (45ca823) into branch-3.4 (d37c647) will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           branch-3.4   #13482   +/-   ##
===========================================
  Coverage       92.67%   92.67%           
===========================================
  Files             320      320           
  Lines           20365    20365           
===========================================
  Hits            18873    18873           
  Misses           1492     1492           

@ianthomas23
Copy link
Member Author

Here is a screencast running the code from the attached issue, showing that canvas and webgl now render the same.

Screen.Recording.2023-10-24.at.15.09.44.mov

@ianthomas23 ianthomas23 merged commit ac00b71 into branch-3.4 Oct 24, 2023
@ianthomas23 ianthomas23 deleted the ianthomas23/13478_webgl_zero_size_marker branch October 24, 2023 15:21
@bryevdv bryevdv mentioned this pull request Oct 24, 2023
@bryevdv bryevdv modified the milestones: 3.4, 3.3.1 Oct 31, 2023
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] {v,h}strip not showing when values are large and width/height is small on WebGL
3 participants