Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 3620f2c

Browse files
sanjayc77Sanjay Chouksey
and
Sanjay Chouksey
authored
Switch view_holder flags (#19538)
The view_holder SetProperties and UpdateScene had incorrectly specified flags for focusable and hit_testable. This change fixes the order, similar to how child_scene_layer specifies it. Co-authored-by: Sanjay Chouksey <[email protected]>
1 parent d1defbf commit 3620f2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flow/scene_update_context.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -233,10 +233,10 @@ void SceneUpdateContext::UpdateScene(int64_t view_id,
233233
FML_DCHECK(view_holder);
234234

235235
view_holder->SetProperties(size.width(), size.height(), 0, 0, 0, 0,
236-
view_holder->hit_testable());
236+
view_holder->focusable());
237237
view_holder->UpdateScene(*this, offset, size,
238238
SkScalarRoundToInt(alphaf() * 255),
239-
view_holder->focusable());
239+
view_holder->hit_testable());
240240
}
241241

242242
void SceneUpdateContext::CreateView(int64_t view_id,

0 commit comments

Comments
 (0)