tldraw/packages/tlschema/src
Mitja Bezenšek 3f453569f6
Improved duplication (#2480)
Improves duplication. It will now remember the offset and shapes of your
`alt + drag` duplication and use that if you use the duplicate action
immediately after this.


![duplicate](https://github.com/tldraw/tldraw/assets/2523721/6fbfd455-d179-4eae-8aba-399b0781f633)

Fixes https://github.com/tldraw/tldraw/issues/2264

### Change Type

- [ ] `patch` — Bug fix
- [x] `minor` — New feature
- [ ] `major` — Breaking change
- [ ] `dependencies` — Changes to package dependencies[^1]
- [ ] `documentation` — Changes to the documentation only[^2]
- [ ] `tests` — Changes to any test code only[^2]
- [ ] `internal` — Any other changes that don't affect the published
package[^2]
- [ ] I don't know

[^1]: publishes a `patch` release, for devDependencies use `internal`
[^2]: will not publish a new version

### Test Plan

1. Add a step-by-step description of how to test your PR here.
2.

- [ ] Unit Tests
- [ ] End to end tests

### Release Notes

- Add a brief release note for your PR here.

---------

Co-authored-by: Taha <98838967+Taha-Hassan-Git@users.noreply.github.com>
Co-authored-by: David Sheldrick <d.j.sheldrick@gmail.com>
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2024-01-26 14:54:52 +00:00
..
assets Fix validation when pasting images. (#2436) 2024-01-10 10:45:19 +00:00
misc arrows: add ability to change label placement (#2557) 2024-01-24 10:19:20 +00:00
records Improved duplication (#2480) 2024-01-26 14:54:52 +00:00
shapes arrows: add ability to change label placement (#2557) 2024-01-24 10:19:20 +00:00
styles Make sure correct dark mode colours get used in exports (#2492) 2024-01-17 14:31:38 +00:00
translations i18n: sort languages by name, not by locale code (#2625) 2024-01-25 11:26:33 +00:00
createPresenceStateDerivation.ts Replace Atom.value with Atom.get() (#2189) 2023-11-13 11:51:22 +00:00
createTLSchema.ts [feature] add meta property to records (#1627) 2023-06-28 14:24:05 +00:00
index.ts [tech debt] Primitives renaming party / cleanup (#2396) 2024-01-03 12:13:15 +00:00
migrations.test.ts Improved duplication (#2480) 2024-01-26 14:54:52 +00:00
store-migrations.ts [improvement] store snapshot types (#1657) 2023-06-27 12:25:55 +00:00
TLStore.ts Replace Atom.value with Atom.get() (#2189) 2023-11-13 11:51:22 +00:00
util-types.ts hoist opacity out of props (#1526) 2023-06-06 16:15:12 +00:00