Skip to content

Conversation

@cbentejac
Copy link
Contributor

Description

This pull request makes minor improvements to the ColorSelector.qml file, ensuring that the Color Selector pop-up is now horizontally centered with respect to the tool button that makes it appear/disappear. It previously was placed on its left, potentially causing it to be clipped out.

image

Previous position of the Color Selector

image

New position of the Color Selector

This fixes #2814.

The Color Selector pop-up was placed on the left of the tool button, which
was causing a part of it to potentially be partially out of screen.

It is now horizontally centered on the tool button, which prevents it
from being clipped while being visually relevant.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request centers the Color Selector popup horizontally with respect to its trigger button to prevent clipping issues. The change improves the UI positioning by ensuring the popup appears centered rather than aligned to the left edge of the button.

  • Updated the horizontal positioning calculation to center the popup
  • Fixed a spelling error in a comment
  • Updated another comment for clarity

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

]

// When a color gets selected/choosen
// When a color gets selected/chosen
Copy link

Copilot AI Sep 2, 2025

Choose a reason for hiding this comment

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

Good fix - corrected the spelling from 'choosen' to 'chosen'.

Copilot uses AI. Check for mistakes.
@codecov
Copy link

codecov bot commented Sep 2, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.46%. Comparing base (ccf2993) to head (9c92c58).
⚠️ Report is 118 commits behind head on develop.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2871   +/-   ##
========================================
  Coverage    77.46%   77.46%           
========================================
  Files           48       48           
  Lines         6735     6735           
========================================
  Hits          5217     5217           
  Misses        1518     1518           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@fabiencastan fabiencastan merged commit 194029c into develop Sep 19, 2025
5 checks passed
@fabiencastan fabiencastan deleted the fix/colorSelectorPosition branch September 19, 2025 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] Graph: Color selector not fully in Meshroom window

4 participants