Skip to content

combine メソッドの責任を分散させる #111

@rrbox

Description

@rrbox

combine メソッドは、Widget が生成した Node に対して、フレームを適用しながら、Notification System と接続する役割をしています。

  1. フレームの適用
  2. Notification system との接続

しかし、1 の処理はほとんどの Widget では使われません。これは、Node の生成のタイミングでフレームと接続するためです。このメソッドにフレーム適用の責任がある理由は、NodeWidget が必要としていたためです。

そこで #110 により NodeWidgetcombine メソッドのフレーム適用処理を必要としないように変更し、combine メソッドを削除/修正することが求められます。

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions