Skip to content

Paint functions use save/restore around children #191

@FlutterIssues

Description

@FlutterIssues

Issue by Hixie
Thursday Oct 08, 2015 at 17:05 GMT
Originally opened as https://github.com/flutter/engine/issues/1537


For example, RenderStack.paint() uses context.canvas.save(); and context.canvas.clipRect(offset & size);. This in theory will fail once things use layers.

There are several problems here:

  • RenderStack.paint() uses save/restore around paintChild.
  • The assert that's supposed to catch this isn't firing.

(Add any other paint() functions that do this to the list above as you find them.)

cc @abarth, @chinmaygarde

Metadata

Metadata

Assignees

Labels

frameworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions