From 3b8fc807f7ab4ca180398138121ef9e3c0ff836e Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Thu, 26 Dec 2024 17:40:27 +0100 Subject: [PATCH] Add corner markers to editor resizer area --- src/csui/src/components/TriggerZoneEditor.vue | 32 +++++++++++++----- src/res/img/corner-marker_64.webp | Bin 0 -> 3564 bytes 2 files changed, 23 insertions(+), 9 deletions(-) create mode 100644 src/res/img/corner-marker_64.webp diff --git a/src/csui/src/components/TriggerZoneEditor.vue b/src/csui/src/components/TriggerZoneEditor.vue index 9d176f2..33b9cf5 100644 --- a/src/csui/src/components/TriggerZoneEditor.vue +++ b/src/csui/src/components/TriggerZoneEditor.vue @@ -8,28 +8,24 @@ @mousedown="(event) => handleMouseDown('offset', event)" >
- XX
- XX
- XX
- XX
@@ -58,6 +54,7 @@ export default { created() { document.addEventListener("mouseup", this.handleMouseUp); document.addEventListener("mousemove", this.handleMouseMove); + updateTriggerZones(); }, methods: { updateTriggerZones() { @@ -169,6 +166,8 @@ export default { diff --git a/src/res/img/corner-marker_64.webp b/src/res/img/corner-marker_64.webp new file mode 100644 index 0000000000000000000000000000000000000000..69598891f52decfdc2c83ac345d5c3b933ad4d03 GIT binary patch literal 3564 zcmaJ@c{r3^A3n%Z$Tp}K*@i;)YKRbJUxvt%3S(!oFE23_8f8uPeTkB_7^1Rf%~q3r z&A!AimZ31;qxZYM_xs~}zjHn3ocpZTklB>bEuhSHMWMZpsQ`e!=j~~vp~`1wZox;p2p9k}fB`tTWR3E2*Sn!^ ze5C&0ZD#;b97XWrN4fsD<{w!`TRSfl02F+XLIvgS=?!5k2w(E^c0a<&5Qd=~t!*J( z4B_*h&;lVmbi~{Ig?}7jhu`@3reL1NMrzRBU=Yve@L$;Gzc9+t6AfuDKpMC$`W}>@ z((Es6dxY;FVYI6cw6@>vXon1T_e^d;GaTyNKm%w2J%9v!zy|mLC*TUafjBhZgBUMh z1jSYV!T-l^KN51;KrSbMf*jX?8$bi=-+pj(29O47f7jN_URLHeMZ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