Skip to content
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

Canvas_View: initialize Computed_Position to No_Position #54

Open
fdesp87 opened this issue Oct 24, 2023 · 0 comments
Open

Canvas_View: initialize Computed_Position to No_Position #54

fdesp87 opened this issue Oct 24, 2023 · 0 comments

Comments

@fdesp87
Copy link

fdesp87 commented Oct 24, 2023

Actually Computed_Position is initialized to (Gdouble'First, Gdouble'First). I believe it should be initialized to No_Position, as it is used when initializing Position a few lines before.

Even if this change is cosmetic, this other is not:
In the procedure Size_Request for Contained_Item_Record, the field Computed_Position is re-initialized to (0.0, 0.0). I believe that this is an error, it should be re-initialized to No_Position.
Currently this error is not manifest because inheritance.

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

No branches or pull requests

1 participant