Skip to content

Conversation

@eeegnu
Copy link

@eeegnu eeegnu commented Feb 18, 2020

Selected region is copied, pasted into the upper left corner, and then
resized to the size of the selection. Added to the R key.

Selected region is copied, pasted into the upper left corner, and then
resized to the size of the selection. Added to the R key.
setCellSymbol(cell, symbol);
}
}
$('#output_grid_size').val((xs[xs.length - 1] - minx + 1) + 'x' + (ys[ys.length - 1] - miny + 1));
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than manipulating the HTML directly, you should fill in CURRENT_OUTPUT_GRID then sync via syncFromDataGridToEditionGrid().

}
// Crop code
if (event.which == 82) {
// Press R
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, but this means the feature is not discoverable by a user other than you... the R key should be advertised (in the same place as the C and V commands)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants