
Highlighter is autolocked, so we shouldn't show the lock icon ### Change Type - [x] `patch` — Bug fix [^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 - We no longer show the tool lock option for highlighter - it didn't do anything anyway
127 lines
1.7 KiB
Text
127 lines
1.7 KiB
Text
---
|
|
title: TLUserPreferences
|
|
status: published
|
|
category: editor
|
|
group: Interface
|
|
author: api
|
|
date: 06/23/2023
|
|
order: 183
|
|
---<Small>Public Interface</Small>
|
|
|
|
<details>
|
|
<summary>Table of Contents</summary>
|
|
- [Properties](#properties)
|
|
- [animationSpeed](#TLUserPreferences-animationSpeed-member)
|
|
- [color](#TLUserPreferences-color-member)
|
|
- [id](#TLUserPreferences-id-member)
|
|
- [isDarkMode](#TLUserPreferences-isDarkMode-member)
|
|
- [isSnapMode](#TLUserPreferences-isSnapMode-member)
|
|
- [locale](#TLUserPreferences-locale-member)
|
|
- [name](#TLUserPreferences-name-member)
|
|
</details>
|
|
|
|
A user of tldraw
|
|
|
|
|
|
##### Signature
|
|
|
|
|
|
```ts
|
|
interface TLUserPreferences {}
|
|
```
|
|
|
|
---
|
|
|
|
## Properties
|
|
|
|
### `animationSpeed` \{#TLUserPreferences-animationSpeed-member}
|
|
|
|
<Small>Public PropertySignature</Small>
|
|
|
|
##### Signature
|
|
|
|
|
|
```ts
|
|
animationSpeed: number
|
|
```
|
|
|
|
---
|
|
|
|
### `color` \{#TLUserPreferences-color-member}
|
|
|
|
<Small>Public PropertySignature</Small>
|
|
|
|
##### Signature
|
|
|
|
|
|
```ts
|
|
color: string
|
|
```
|
|
|
|
---
|
|
|
|
### `id` \{#TLUserPreferences-id-member}
|
|
|
|
<Small>Public PropertySignature</Small>
|
|
|
|
##### Signature
|
|
|
|
|
|
```ts
|
|
id: string
|
|
```
|
|
|
|
---
|
|
|
|
### `isDarkMode` \{#TLUserPreferences-isDarkMode-member}
|
|
|
|
<Small>Public PropertySignature</Small>
|
|
|
|
##### Signature
|
|
|
|
|
|
```ts
|
|
isDarkMode: boolean
|
|
```
|
|
|
|
---
|
|
|
|
### `isSnapMode` \{#TLUserPreferences-isSnapMode-member}
|
|
|
|
<Small>Public PropertySignature</Small>
|
|
|
|
##### Signature
|
|
|
|
|
|
```ts
|
|
isSnapMode: boolean
|
|
```
|
|
|
|
---
|
|
|
|
### `locale` \{#TLUserPreferences-locale-member}
|
|
|
|
<Small>Public PropertySignature</Small>
|
|
|
|
##### Signature
|
|
|
|
|
|
```ts
|
|
locale: string
|
|
```
|
|
|
|
---
|
|
|
|
### `name` \{#TLUserPreferences-name-member}
|
|
|
|
<Small>Public PropertySignature</Small>
|
|
|
|
##### Signature
|
|
|
|
|
|
```ts
|
|
name: string
|
|
```
|
|
|
|
---
|
|
|