mirror of
https://github.com/Ku6epXBOCTuK/easy-png-tools.git
synced 2026-11-13 17:08:20 +00:00
feat: add split to parts by tile size
This commit is contained in:
@@ -16,6 +16,8 @@ import type { Position9 } from "./core/textdraw";
|
||||
*/
|
||||
export interface FieldSpecBase {
|
||||
label?: string;
|
||||
/** Поле видно только когда другое поле равно значению (режимы инструмента). */
|
||||
visibleWhen?: { field: string; equals: string };
|
||||
}
|
||||
|
||||
export interface NumberSpec extends FieldSpecBase {
|
||||
@@ -291,6 +293,7 @@ export const field = {
|
||||
maxFromSource?: boolean;
|
||||
lockAspectWith?: string;
|
||||
presets?: boolean;
|
||||
visibleWhen?: { field: string; equals: string };
|
||||
}): Field<Dimension> => ({
|
||||
spec: { kind: "dimension", ...s },
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user