Skip to content

Conversation

@Happypig375
Copy link
Collaborator

@Happypig375 Happypig375 commented Jul 16, 2020

This should finish #123, #136, #137 and possibly #138.

@Happypig375
Copy link
Collaborator Author

Now the view output of CSharpMath.Avalonia and CSharpMath.SkiaSharp are the same.
image

Should we decrease the default font size (50)? Seems a bit too large.

@FoggyFinder
Copy link
Collaborator

Something is not right with these changes.
Text in display mode reacts on mouse dragging:

_144

@Happypig375
Copy link
Collaborator Author

Happypig375 commented Jul 17, 2020

Maybe we should remove panning/dragging. It is from a time when view sizes were buggy and views are required to fill the entire available size. Panning/dragging is also buggy on Avalonia (the hit detection requires you to click a non-transparent pixel requiring precise cursor movement, and you can drag out of view bounds). Now that view sizes is getting fixed (#32, #136), we should replace all uses of panning/dragging with ScrollViews.

If we are to remove panning/dragging anyways, we might as well ignore this issue for now.

@FoggyFinder
Copy link
Collaborator

we should replace all uses of panning/dragging with ScrollViews.

What about line breaks then ? (or I didn't get the point how it will be implemented)

@Happypig375
Copy link
Collaborator Author

Happypig375 commented Jul 18, 2020

Panning/dragging is independent of line breaking. People can already use TextView in ScrollView as seen in #136.

@FoggyFinder FoggyFinder self-requested a review July 18, 2020 06:02
@Happypig375 Happypig375 merged commit f75643d into master Jul 18, 2020
@Happypig375 Happypig375 deleted the issue136/DpiCalculations branch July 18, 2020 14:19
@Happypig375 Happypig375 added Resolution/Fixed The described issue is fixed. Status/5. Awaiting next release This issue has been resolved and is waiting for the next release/prerelease. labels Jul 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Resolution/Fixed The described issue is fixed. Status/5. Awaiting next release This issue has been resolved and is waiting for the next release/prerelease. Type/Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants