mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
stickers: fixed sticker dialog listing
This commit is contained in:
parent
89a64e244d
commit
93e05b7efe
5 changed files with 10801 additions and 58 deletions
|
@ -240,15 +240,11 @@ function* getRenderData() {
|
|||
const points = getPolyPlacement();
|
||||
ctx.clearRect(0, 0, canvas.width, canvas.height);
|
||||
|
||||
console.log('[RENDER] fetching images');
|
||||
const images = yield fetchImages(ctx, geometry);
|
||||
console.log('[RENDER] ...done');
|
||||
console.log('[RENDER] composing images');
|
||||
|
||||
yield composeImages({ geometry, images, ctx });
|
||||
console.log('[RENDER] ...done');
|
||||
console.log('[RENDER] composing poly');
|
||||
yield composePoly({ points, ctx });
|
||||
console.log('[RENDER] ...done');
|
||||
|
||||
return yield canvas.toDataURL('image/jpeg');
|
||||
}
|
||||
|
||||
|
@ -293,9 +289,9 @@ function* cropAShotSaga(params) {
|
|||
}
|
||||
|
||||
function setProviderSaga({ provider }) {
|
||||
return editor.setProvider(provider);
|
||||
editor.setProvider(provider);
|
||||
|
||||
// return put(setMode(MODES.NONE))
|
||||
return put(setMode(MODES.NONE));
|
||||
}
|
||||
|
||||
export function* userSaga() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue