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

Fix hook priority #3157

Merged
merged 2 commits into from
Feb 7, 2025
Merged

Fix hook priority #3157

merged 2 commits into from
Feb 7, 2025

Conversation

T4rk1n
Copy link
Contributor

@T4rk1n T4rk1n commented Feb 7, 2025

Fix #3150

@T4rk1n T4rk1n changed the base branch from dev to dash-3.0 February 7, 2025 19:37
if not priority and len(hks):
priority_max = max(h.priority for h in hks)
p = priority_max - 1
priority_min = min(h.priority for h in hks)
Copy link
Contributor

Choose a reason for hiding this comment

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

worth a comment in the code so the next person doesn't flip it back?

@T4rk1n T4rk1n merged commit 09dc4a9 into dash-3.0 Feb 7, 2025
3 checks passed
@T4rk1n T4rk1n deleted the fix-hook-priority branch February 7, 2025 21:15
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.

Are hooks correctly saving assigned priority?
2 participants