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

Make info rect and current time marker not leaving the boundaries of … #366

Closed
wants to merge 0 commits into from

Conversation

jsalus
Copy link
Contributor

@jsalus jsalus commented Oct 18, 2023

…the graph

@fvacek

@@ -1158,6 +1158,15 @@ void Graph::drawCenterBottomText(QPainter *painter, const QPoint &top_center, co
br.adjust(-inset, 0, inset, 0);
br.moveCenter(top_center);
br.moveBottom(top_center.y());

if (br.right() > m_layout.xAxisRect.right()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what if one can draw text over X axis?


for (int i : visibleChannels()) {
const GraphChannel *ch = channelAt(i);
if(dirty_rect.intersects(ch->graphAreaRect())) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move after draw y axis

@fvacek fvacek marked this pull request as draft October 18, 2023 14:22
@fvacek
Copy link
Contributor

fvacek commented Jan 24, 2024

is this ready to merge?

@jsalus
Copy link
Contributor Author

jsalus commented Jan 24, 2024

is this ready to merge?

Ano

@jsalus jsalus marked this pull request as ready for review January 24, 2024 14:19
@jsalus jsalus closed this Jan 24, 2024
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