bugfix: render 'sunken' gradients correctly
This commit is contained in:
parent
3c7407beb4
commit
b7e84104a6
1 changed files with 1 additions and 1 deletions
|
@ -1457,7 +1457,7 @@ Pixmap TextureRender::renderGradient(const FbTk::Texture &texture) {
|
|||
// invert our width and height if necessary
|
||||
translateSize(orientation, width, height);
|
||||
|
||||
bool inverted = texture.type() & Texture::SUNKEN;
|
||||
bool inverted = texture.type() & Texture::INVERT;
|
||||
const Color* from = &(texture.color());
|
||||
const Color* to = &(texture.colorTo());
|
||||
|
||||
|
|
Loading…
Reference in a new issue