feat: separate 'speaker controls'

specifically for 'i have finished speaking' and not allowing to change
the state
This commit is contained in:
efim
2023-11-25 08:42:13 +00:00
parent 1b91b9f083
commit 85b3a3f89e
4 changed files with 111 additions and 63 deletions

View File

@@ -57,6 +57,9 @@ func (r *roomTableData) Tangens() float64 {
}
return math.Tan(math.Pi / float64(r.Total())) // Math.tan(Math.PI/m);
}
func (r *roomTableData) IsViewerTheSpeaker() bool {
return r.currentPerson == r.CurrentSpeaker
}
type arrowData struct {
IsVisible bool