sbrin / lopaka

Lopaka - Stunning graphics for embedded systems displays
https://lopaka.app
Apache License 2.0
315 stars 18 forks source link

Grouping layers #159

Open deadlink opened 1 month ago

deadlink commented 1 month ago

Group: cmd/ctrl + G Ungroup: cmd/ctrl + shift + G At the moment only selection is supported

github-actions[bot] commented 1 month ago

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 52.67% 3433 / 6517
🔵 Statements 52.67% 3433 / 6517
🔵 Functions 23.12% 123 / 532
🔵 Branches 84.38% 227 / 269
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/core/history.ts 64.28% 100% 30% 64.28% 22-24, 27-30, 33-34, 37-38, 41-55, 68-69, 76-77
src/core/keys.enum.ts 100% 100% 100% 100%
src/core/layers-manager.ts 43.28% 100% 25% 43.28% 45-46, 49-50, 53-54, 59-60, 63-64, 67-69, 77-78, 81-86, 89-91, 94-96, 99-101, 104, 113-126, 129-152, 155-158, 161-179, 182-188, 208-211, 217-224, 227-267
src/core/session.ts 65.77% 75% 52.94% 65.77% 65-74, 76-83, 85-93, 95-102, 144-145, 148-156, 159-179, 192-193, 198-202, 216-218
src/core/layers/abstract.layer.ts 84.9% 100% 18.18% 84.9% 140-141, 149-157, 164-165, 177-180, 187-188, 195-196, 199-207, 210-211
src/core/layers/rectangle.layer.ts 48.59% 100% 9.67% 48.59% 32-35, 41-44, 50-53, 59-62, 68-73, 79-81, 87-90, 96-98, 107-112, 114-124, 129-132, 134-135, 140-145, 147-157, 162, 164-174, 190-204, 207-226, 229-231, 234-239
src/draw/virtual-screen.ts 45.81% 60% 37.5% 45.81% 52-53, 72-95, 98-112, 115-117, 125-131, 133-139, 141-142, 148-191, 195-198, 201-202
src/draw/plugins/highlight.plugin.ts 7.89% 100% 0% 7.89% 6-75
src/draw/plugins/resize-icons.plugin.ts 23.07% 100% 0% 23.07% 6-25
src/draw/plugins/smart-ruler.plugin.ts 9.09% 100% 0% 9.09% 5-54
src/editor/editor.ts 38.38% 100% 14.28% 38.38% 61-67, 70-86, 94-103, 106-154, 157-163, 165-172, 174-180, 182-188, 190-196, 198-204, 206-207, 209-210
src/editor/plugins/add.plugin.ts 30.61% 100% 0% 30.61% 9-10, 13-29, 32-37, 40-48
src/editor/plugins/copy.plugin.ts 28% 100% 0% 28% 13-46, 48-49
src/editor/plugins/delete.plugin.ts 40% 100% 0% 40% 6-14
src/editor/plugins/group.plugin.ts 25% 100% 0% 25% 6-23
src/editor/plugins/image-drop.plugin.ts 22.5% 100% 0% 22.5% 7-15, 18-39
src/editor/plugins/move.plugin.ts 12.5% 100% 0% 12.5% 7-8, 11-30, 33-38, 41-51, 54-119
src/editor/plugins/paint.plugin.ts 24.32% 100% 0% 24.32% 8-9, 12-40, 43-49, 52-58, 61-69, 72-73
src/editor/plugins/resize.plugin.ts 22.72% 100% 0% 22.72% 7-8, 11-13, 16-33, 36-58, 61-65
src/editor/plugins/save.plugin.ts 60% 100% 0% 60% 6-9
src/editor/plugins/select.plugin.ts 18.3% 100% 0% 18.3% 16-23, 26-61, 64-79, 82-94, 97-129, 132-141
src/editor/tools/paint.tool.ts 35.08% 100% 20% 35.08% 14-16, 19-20, 23-42, 45-56
Generated in workflow #70
cloudflare-pages[bot] commented 1 month ago

Deploying lopaka-dev with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2f163e6
Status: âœ…  Deploy successful!
Preview URL: https://1598ba46.lopaka-dev.pages.dev
Branch Preview URL: https://feature-grouping.lopaka-dev.pages.dev

View logs