add fast buttons
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Владимир Фёдоров 2023-07-02 18:15:41 +07:00
parent 9a53efea60
commit 1a9e11b1cd
1 changed files with 26 additions and 0 deletions

View File

@ -55,6 +55,32 @@ const rotatePage = () => {
<SidebarBlock title="Вертикальные линии"> <SidebarBlock title="Вертикальные линии">
<Input v-model="vMargin">Отступ, мм</Input> <Input v-model="vMargin">Отступ, мм</Input>
<Input v-model="vRotation">Поворот, градусы</Input> <Input v-model="vRotation">Поворот, градусы</Input>
<ButtonsBar>
<Button :size="ButtonSize.Small" :click="() => {
vRotation = 45;
}
">
45°
</Button>
<Button :size="ButtonSize.Small" :click="() => {
vRotation = 60;
}
">
60°
</Button>
<Button :size="ButtonSize.Small" :click="() => {
vRotation = 65;
}
">
65°
</Button>
<Button :size="ButtonSize.Small" :click="() => {
vRotation = 90;
}
">
90°
</Button>
</ButtonsBar>
</SidebarBlock> </SidebarBlock>
<SidebarBlock title="Горизонтальные линии"> <SidebarBlock title="Горизонтальные линии">
<Input v-model="hMargin">Отступ, мм</Input> <Input v-model="hMargin">Отступ, мм</Input>