Clipboard: fix text always getting cleared to null in __update() when targeting html5

This commit is contained in:
Josh Tynjala
2024-05-30 16:02:54 -07:00
parent 1b8d7ac7fa
commit 0cf13bf3dd

View File

@@ -53,6 +53,8 @@ class Clipboard
{
_text = FlashClipboard.generalClipboard.getData(TEXT_FORMAT);
}
#elseif (js || html5)
_text = cacheText;
#end
__updated = true;