Skip to content

Optimize notefield drawing #1

Open

Description

@Kangaroux
  • Draw the beat line paths in bulk (one beginPath and closePath call for all measure lines, beat lines, fractional lines)
  • Resize the noteskin images when the skin or note size changes [1]

[1] https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Optimizing_canvas#don%E2%80%99t_scale_images_in_drawimage

Activity

  1. added
    scope:uiReact components, hotkeys, etc. Anything NOT related to the canvas
    scope:notefieldChanges to the notefield canvas
    and removed
    scope:uiReact components, hotkeys, etc. Anything NOT related to the canvas
    on Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions