themes and styles
This commit is contained in:
@@ -74,7 +74,14 @@ func (w *World) drawPlanSinglePass(drawer PrimitiveDrawer, plan RenderPlan, allo
|
||||
items := make([]drawItem, 0, len(td.Candidates))
|
||||
|
||||
for _, it := range td.Candidates {
|
||||
switch v := it.(type) {
|
||||
id := it.ID()
|
||||
cur, ok := w.objects[id]
|
||||
if !ok {
|
||||
// Stale grid entry (object removed). Skip.
|
||||
continue
|
||||
}
|
||||
|
||||
switch v := cur.(type) {
|
||||
case Point:
|
||||
vv := v
|
||||
items = append(items, drawItem{
|
||||
|
||||
Reference in New Issue
Block a user