Fix #112122: Hover color matches with disabled buttons #112380

Closed
Pratik Borhade wants to merge 3 commits from PratikPB2123:112122-menu-hover into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Member

This is due to blending between inner and text colors.
Instead, copy the text color in inner when hovering. This is same as
done for UIList: 7216eb8879

This is due to blending between inner and text colors. Instead, copy the text color in `inner` when hovering. This is same as done for UIList: 7216eb88797c8b268a8b6817c54caee2efdf71a1
Pratik Borhade added 1 commit 2023-09-14 14:07:41 +02:00
900441f17d Fix #112122: Hover color matches with disabled buttons
This is due to blending between inner and text colors.
Instead, copy the text color in `inner` when hovering. This is same as
done for UIList: 7216eb8879
Pratik Borhade requested review from Pablo Vazquez 2023-09-14 14:07:51 +02:00
Pratik Borhade requested review from Harley Acheson 2023-09-14 14:07:52 +02:00
Pratik Borhade added the
Module
User Interface
label 2023-09-14 14:07:58 +02:00
Member

Wouldn't it make more sense to mix the text color with Menu Background's color?

Wouldn't it make more sense to mix the text color with `Menu Background`'s color?
Pratik Borhade added 1 commit 2023-09-15 11:38:16 +02:00
Author
Member

@pablovazquez hi, does it look good now?

@pablovazquez hi, does it look good now?
Author
Member

Hi, do we still need this change in main? Otherwise we can close PR and #112122 🙂

Hi, do we still need this change in main? Otherwise we can close PR and #112122 🙂
Member

Could you please update this to main so I can test it? Thanks!

Could you please update this to main so I can test it? Thanks!
Pratik Borhade added 1 commit 2024-04-01 13:16:13 +02:00
Author
Member

Done :)

Done :)
Member

The bug report this references, #112122, seems to be no longer an issue. The author was asked to check the latest Blender 4.2 alpha and replied "Yes, works as expected now"

The bug report this references, #112122, seems to be no longer an issue. The author was asked to check the latest Blender 4.2 alpha and replied "Yes, works as expected now"
Author
Member

The bug report this references, #112122, seems to be no longer an issue

Think that's because the other fix I made here !113082 / b5ebf31fb1

But there are still some cases where we might require this: #120133

> The bug report this references, #112122, seems to be no longer an issue Think that's because the other fix I made here !113082 / b5ebf31fb114d3d43c11227eca9b1f3ded9f06f1 But there are still some cases where we might require this: #120133
Member

@PratikPB2123 - Think that's because the other fix I made...But there are still some cases where we might require this: #120133

But if we are down to just that then I think there is a simpler fix that only targets that. I'll make separate PR that targets #120133 and make you the reviewer.

> @PratikPB2123 - Think that's because the other fix I made...But there are still some cases where we might require this: #120133 But if we are down to just that then I think there is a simpler fix that only targets that. I'll make separate PR that targets #120133 and make you the reviewer.
Author
Member

Closing, thanks for the review :)

Closing, thanks for the review :)
Pratik Borhade closed this pull request 2024-04-05 13:51:20 +02:00
Pratik Borhade deleted branch 112122-menu-hover 2024-04-05 13:51:36 +02:00

Pull request closed

Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#112380
No description provided.