Commit 551a05c
fix: hide color tool in effect (blur/mosaic) mode
Commit 81701e0 added m_colorTool->show() to the else branch of
changeShotToolWidget, which is shared by all non-geometry tools.
This overrides the earlier m_colorTool->setFunction("effect") call
that correctly hides it, causing the color picker to appear in
blur, mosaic, shape-blur and pen-blur modes where it is not needed.
Add a dedicated branch for "effect" that keeps m_colorTool hidden.
bug: https://pms.uniontech.com/bug-view-356071.html1 parent b8054be commit 551a05c
1 file changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
200 | 210 | | |
201 | 211 | | |
202 | 212 | | |
| |||
206 | 216 | | |
207 | 217 | | |
208 | 218 | | |
209 | | - | |
| 219 | + | |
210 | 220 | | |
211 | 221 | | |
212 | 222 | | |
| |||
0 commit comments