mirror of
https://github.com/google/blockly.git
synced 2026-01-09 18:10:08 +01:00
chore: remove AnyDuringMigration from bump objects (#6306)
* fix: change return type to void * chore: format
This commit is contained in:
@@ -91,7 +91,7 @@ export const bumpIntoBounds = bumpObjectIntoBounds;
|
||||
* @alias Blockly.bumpObjects.bumpIntoBoundsHandler
|
||||
*/
|
||||
export function bumpIntoBoundsHandler(workspace: WorkspaceSvg):
|
||||
(p1: Abstract) => AnyDuringMigration {
|
||||
(p1: Abstract) => void {
|
||||
return (e) => {
|
||||
const metricsManager = workspace.getMetricsManager();
|
||||
if (!metricsManager.hasFixedEdges() || workspace.isDragging()) {
|
||||
|
||||
Reference in New Issue
Block a user