feat: controls styling from gesture info

This commit is contained in:
efim
2023-11-23 15:01:51 +00:00
parent dbae803ead
commit 16ee8a7cd5
6 changed files with 51 additions and 30 deletions

View File

@@ -250,7 +250,7 @@ func roomTemplatesPreview(
contentData := struct {
DefaultColor template.CSS
Gestures []rooms.HandGesture
GesturePreviews []rooms.HandGesture
ABrick brickState
TestPerson personData
ARoom *roomTableData
@@ -260,7 +260,7 @@ func roomTemplatesPreview(
TemplateType: "raisedBrick",
Gesture: rooms.Expand,
},
Gestures: rooms.GesturesHighToLow[:],
GesturePreviews: rooms.GesturesHighToLow[:],
TestPerson: testPersonData,
ARoom: &roomTableData{
Room: &aRoom,