mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-25 07:22:33 -05:00
Add support for specifying that whether or not the image should be flipped in an RTL language.
This commit is contained in:
parent
21430a5366
commit
7129f8c4a9
1 changed files with 3 additions and 1 deletions
|
@ -1250,7 +1250,9 @@ class Runtime extends EventEmitter {
|
||||||
src: argInfo.dataURI,
|
src: argInfo.dataURI,
|
||||||
// TODO these probably shouldn't be hardcoded...?
|
// TODO these probably shouldn't be hardcoded...?
|
||||||
width: 24,
|
width: 24,
|
||||||
height: 24
|
height: 24,
|
||||||
|
// TODO is false a good default here?
|
||||||
|
flip_rtl: argInfo.flipRTL || false
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue