Closed Demolemon11 closed 2 weeks ago
let color = vec3(0.7, 0.3, 0.3); item.as_view().apply_over(cx, live!( show_bg: true draw_bg: { color: (color) } )); item.redraw(cx);
Just paste this at the end of RoomScreen's draw_walk, then only small message & event background is red.
RoomScreen
draw_walk
I want all the message's background to be apply_over to red, what should I do? (I only want to modify RoomScreen's draw_walk )
apply_over
Just paste this at the end of
RoomScreen
'sdraw_walk
, then only small message & event background is red.I want all the message's background to be
apply_over
to red, what should I do? (I only want to modifyRoomScreen
's draw_walk )