mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-01-19 04:19:30 +08:00
fix: graphic元素错位问题
This commit is contained in:
parent
285dc2e48f
commit
7ae1eb1e21
@ -21,8 +21,7 @@ import {
|
|||||||
Line,
|
Line,
|
||||||
Path,
|
Path,
|
||||||
QuadraticCurve,
|
QuadraticCurve,
|
||||||
Rect,
|
Rect
|
||||||
RectR
|
|
||||||
} from '../preset/graphics';
|
} from '../preset/graphics';
|
||||||
import { BaseProps } from './props';
|
import { BaseProps } from './props';
|
||||||
|
|
||||||
@ -231,6 +230,7 @@ tagMap.register('g-line', se(Line, 'absolute', ElementState.None));
|
|||||||
tagMap.register('g-bezier', se(BezierCurve, 'absolute', ElementState.None));
|
tagMap.register('g-bezier', se(BezierCurve, 'absolute', ElementState.None));
|
||||||
tagMap.register('g-quad', se(QuadraticCurve, 'absolute', ElementState.None));
|
tagMap.register('g-quad', se(QuadraticCurve, 'absolute', ElementState.None));
|
||||||
tagMap.register('g-path', se(Path, 'absolute', ElementState.None));
|
tagMap.register('g-path', se(Path, 'absolute', ElementState.None));
|
||||||
|
tagMap.register('g-rectr', se(Path, 'absolute', ElementState.None));
|
||||||
tagMap.register('icon', standardElementNoCache(Icon));
|
tagMap.register('icon', standardElementNoCache(Icon));
|
||||||
tagMap.register('winskin', (_0, _1, props) => {
|
tagMap.register('winskin', (_0, _1, props) => {
|
||||||
if (!props) return new Winskin(core.material.images.images['winskin.png']);
|
if (!props) return new Winskin(core.material.images.images['winskin.png']);
|
||||||
|
Loading…
Reference in New Issue
Block a user