We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c11f7a commit 52d6682Copy full SHA for 52d6682
packages/core/src/internal/ot/flocon/room/board/types.ts
@@ -14,7 +14,9 @@ import * as StringPiece from './stringPiece/types';
14
15
export const template = createObjectValueTemplate(
16
{
17
- backgroundImage: createReplaceValueTemplate(maybe(filePathValue)),
+ backgroundImage: createReplaceValueTemplate(filePathValue.optional()),
18
+ // 例えば1ならば1倍、2ならば2倍。web-serverのユーザー設定にzoomがあるがそちらと計算方法が異なるので注意。
19
+ // TODO: backgroundImageZoom ではなく backgroundImageScale 等にしておけばわかりやすかったか。
20
backgroundImageZoom: createReplaceValueTemplate(z.number()),
21
cellColumnCount: createReplaceValueTemplate(z.number()),
22
cellHeight: createReplaceValueTemplate(z.number()),
0 commit comments