mirror of https://github.com/Squidex/squidex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.4 KiB
41 lines
1.4 KiB
<div class="menu">
|
|
<button
|
|
class="btn"
|
|
attr.aria-label="{{ 'assets.editor.rotateLeft' | sqxTranslate }}"
|
|
(click)="rotate(-90)"
|
|
title="i18n:assets.editor.rotateLeft"
|
|
type="button">
|
|
<i class="icon-rotate_left"></i>
|
|
</button>
|
|
<button
|
|
class="btn"
|
|
attr.aria-label="{{ 'assets.editor.rotateRight' | sqxTranslate }}"
|
|
(click)="rotate(90)"
|
|
title="i18n:assets.editor.rotateRight"
|
|
type="button">
|
|
<i class="icon-rotate_right"></i>
|
|
</button>
|
|
<span class="separator"></span>
|
|
<button
|
|
class="btn"
|
|
attr.aria-label="{{ 'assets.editor.flipVertically' | sqxTranslate }}"
|
|
(click)="flip(false)"
|
|
title="i18n:assets.editor.flipVertically"
|
|
type="button">
|
|
<i class="icon-flip"></i>
|
|
</button>
|
|
<button
|
|
class="btn rotate 90"
|
|
attr.aria-label="{{ 'assets.editor.flipHorizontally' | sqxTranslate }}"
|
|
(click)="flip(true)"
|
|
title="i18n:assets.editor.flipHorizontally"
|
|
type="button">
|
|
<i class="icon-flip"></i>
|
|
</button>
|
|
<span class="separator"></span>
|
|
<button class="btn" attr.aria-label="{{ 'common.reset' | sqxTranslate }}" (click)="reset()" title="i18n:common.reset" type="button">
|
|
<i class="icon-close"></i>
|
|
</button>
|
|
</div>
|
|
|
|
<div class="editor"><canvas #editor></canvas></div>
|
|
|