Skip to content
Permalink
Browse files

Break software TextField cacheAsBitmap if textfield is dirty

  • Loading branch information
jgranick committed Dec 3, 2019
1 parent ae6f140 commit d88a0a50d15ef10555084995dc6250b826e29aee
@@ -439,7 +439,7 @@ class CairoRenderer extends CairoRendererAPI

private function __renderTextField(textField:TextField):Void
{
__updateCacheBitmap(textField, /*!__worldColorTransform.__isDefault ()*/ false);
__updateCacheBitmap(textField, textField.__dirty);

if (textField.__cacheBitmap != null && !textField.__isCacheBitmapRender)
{
@@ -461,7 +461,7 @@ class CanvasRenderer extends CanvasRendererAPI

if (textField.mask == null || (textField.mask.width > 0 && textField.mask.height > 0))
{
__updateCacheBitmap(textField, /*!__worldColorTransform.__isDefault ()*/ false);
__updateCacheBitmap(textField, textField.__dirty);

if (textField.__cacheBitmap != null && !textField.__isCacheBitmapRender)
{

0 comments on commit d88a0a5

Please sign in to comment.
You can’t perform that action at this time.