Tldraw/assets/translations
Steve Ruiz 4f07e696e8
[feature] wrap mode (#2938)
By default, tldraw's brushing mode will select when the box intersects
an shape's geometry. A user can hold Command / Ctrl to require that the
selection box fully contain a shape's bounds instead.

Some people really prefer the opposite. Three years! Three years I've
been saying "no no no".

This PR adds a user preference to flip the logic. When `isWrapMode` is
true, selection requires that the box completely contain a shape before
it's added to the list of selecting shapes; and ctrl flips back to
intersection instead.

### Change Type

- [x] `minor` — New feature

### Test Plan

1. Turn on wrap mode in the user preferences menu.
2. Select stuff.
3. Use the ctrl key to except the behavior back to intersection.

- [x] Unit Tests

### Release Notes

- Added `isWrapMode` to user preferences.
- Added Wrap Mode toggle to user preferences menu.
2024-02-29 11:45:02 +00:00
..
ar.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
ca.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
cs.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
da.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
de.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
en.json
es.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
fa.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
fi.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
fr.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
gl.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
he.json
hi-in.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
hr.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
hu.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
it.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
ja.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
ko-kr.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
ku.json
languages.json Lokalise: Translations update (#2830) 2024-02-14 08:59:41 +00:00
main.json [feature] wrap mode (#2938) 2024-02-29 11:45:02 +00:00
my.json
ne.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
no.json
pl.json
pt-br.json improves translation into pt-br (#2231) 2023-11-27 13:45:25 +00:00
pt-pt.json
ro.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
ru.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
sl.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
sv.json
te.json
th.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
tr.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
uk.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
vi.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
zh-cn.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
zh-tw.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00