mirror of
https://github.com/google/blockly.git
synced 2026-01-08 09:30:06 +01:00
* chore: cleaned up several type cases in core/field.ts and impacted files * chore: updated instances of `sourceBlock_!` to `getSourceBlock()` * chore: updated instances of `fieldGroup_!` to `getSvgRoot()` * chore: updated nullable variables in `field.ts` to use internal functions * chore: updated getSourceBlock and getSvgRoot to handle nullability * chore: updated comments to reference throwing an error * fix: reverted `getSvgRoot` to `fieldGroup_` in null-accepting areas * fix: updated `getSvgRoot` to allow null and added null handling methods * fix: moved click target error handling to their specific cases * fix: updated drawer.ts to handle cast svg group to defined