Skip to content

Commit

Permalink
tests: Add visual/cache_as_bitmap/edittext_hscroll test
Browse files Browse the repository at this point in the history
Verifies that hscroll works properly when TextField is cached as bitmap.
  • Loading branch information
kjarosh authored and adrian17 committed Dec 16, 2024
1 parent 2884192 commit 24fc217
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[
{ "type": "Wait" },
{ "type": "KeyDown", "key_code": 27 }
]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Escape pressed
Binary file not shown.
10 changes: 10 additions & 0 deletions tests/tests/swfs/visual/cache_as_bitmap/edittext_hscroll/test.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
num_ticks = 2

[image_comparisons."output.01"]
trigger = 1

[image_comparisons."output.02"]
trigger = 2

[player_options]
with_renderer = { optional = false, sample_count = 4 }

0 comments on commit 24fc217

Please sign in to comment.