Skip to content

Unused property in wm.EditEntities.scaleSelectedEntity #78

Description

@Joncom

scaleSelectedEntity: function( x, y ) {
var scale = this.wasSelectedOnScaleBorder;
var w = Math.round( x / this.gridSize ) * this.gridSize - this.selectedEntity.pos.x;

w is defined here, but never used. w does actually get used several times afterwards, but it's always redefined first, so this line here never gets used for anything.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions