mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-16 14:42:44 +00:00
Fix bug: we weren't able to pick a gradient from the Dynamics popup
This commit is contained in:
parent
a3f9143cbe
commit
9d336ef259
@ -235,6 +235,13 @@ DynamicsPopup::DynamicsPopup(Delegate* delegate)
|
|||||||
m_fromTo = tools::ColorFromTo::BgToFg;
|
m_fromTo = tools::ColorFromTo::BgToFg;
|
||||||
updateFromToText();
|
updateFromToText();
|
||||||
});
|
});
|
||||||
|
m_ditheringSel->OpenListBox.connect(
|
||||||
|
[this]{
|
||||||
|
if (auto comboboxWindow = m_ditheringSel->getWindowWidget()) {
|
||||||
|
m_hotRegion |= gfx::Region(comboboxWindow->boundsOnScreen());
|
||||||
|
setHotRegion(m_hotRegion);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
m_dynamics->gradientPlaceholder()->addChild(m_ditheringSel);
|
m_dynamics->gradientPlaceholder()->addChild(m_ditheringSel);
|
||||||
m_dynamics->pressurePlaceholder()->addChild(m_pressureThreshold = new ThresholdSlider);
|
m_dynamics->pressurePlaceholder()->addChild(m_pressureThreshold = new ThresholdSlider);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user