mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 15:47:18 +02:00
Update caret icons
This commit is contained in:
parent
f06346457a
commit
30e2193fe7
3
src/assets/svg/caret-left.svg
Normal file
3
src/assets/svg/caret-left.svg
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="100%" stroke="#fff" fill="#fff" height="100%" viewBox="0 0 32 32" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2">
|
||||||
|
<path d="M6.755 1.924l-6 13.649c-.119.27-.119.578 0 .849l6 13.649c.234.533.857.775 1.389.541s.775-.857.541-1.389L2.871 15.997 8.685 2.773c.234-.533-.008-1.155-.541-1.389s-1.155.008-1.389.541z"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 386 B |
@ -1,5 +1,3 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" width="100%" stroke="#fff" fill="#fff" height="100%" viewBox="0 0 13 23" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2">
|
<svg xmlns="http://www.w3.org/2000/svg" width="100%" stroke="#fff" fill="#fff" height="100%" viewBox="0 0 32 32" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2">
|
||||||
<g transform="matrix(.399603 0 0 .709528 0 0)">
|
<path d="M2.685 1.924l6 13.649c.119.27.119.578 0 .849l-6 13.649c-.234.533-.857.775-1.389.541s-.775-.857-.541-1.389l5.813-13.225L.755 2.773c-.234-.533.008-1.155.541-1.389s1.155.008 1.389.541z"/>
|
||||||
<path d="M1.601 2.727l23.255 13.097L1.601 28.922c-.977.55-.977 1.443 0 1.993s2.563.55 3.539 0l25.025-14.094c.977-.55.977-1.443 0-1.993L5.14.734c-.977-.55-2.563-.55-3.539 0s-.977 1.443 0 1.993z"/>
|
|
||||||
</g>
|
|
||||||
</svg>
|
</svg>
|
||||||
|
Before Width: | Height: | Size: 452 B After Width: | Height: | Size: 385 B |
@ -36,7 +36,7 @@ export class GameBar {
|
|||||||
|
|
||||||
const $gameBar = CE('div', {id: 'bx-game-bar', class: 'bx-gone', 'data-position': position},
|
const $gameBar = CE('div', {id: 'bx-game-bar', class: 'bx-gone', 'data-position': position},
|
||||||
$container = CE('div', {class: 'bx-game-bar-container bx-offscreen'}),
|
$container = CE('div', {class: 'bx-game-bar-container bx-offscreen'}),
|
||||||
createSvgIcon(BxIcon.CARET_RIGHT),
|
createSvgIcon(position === 'bottom-left' ? BxIcon.CARET_RIGHT : BxIcon.CARET_LEFT),
|
||||||
);
|
);
|
||||||
|
|
||||||
this.actions = [
|
this.actions = [
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
import iconCadetRight from "@assets/svg/caret-right.svg" with { type: "text" };
|
|
||||||
import iconCamera from "@assets/svg/camera.svg" with { type: "text" };
|
|
||||||
import iconController from "@assets/svg/controller.svg" with { type: "text" };
|
import iconController from "@assets/svg/controller.svg" with { type: "text" };
|
||||||
import iconCopy from "@assets/svg/copy.svg" with { type: "text" };
|
import iconCopy from "@assets/svg/copy.svg" with { type: "text" };
|
||||||
import iconCursorText from "@assets/svg/cursor-text.svg" with { type: "text" };
|
import iconCursorText from "@assets/svg/cursor-text.svg" with { type: "text" };
|
||||||
@ -16,6 +14,10 @@ import iconTrash from "@assets/svg/trash.svg" with { type: "text" };
|
|||||||
import iconTouchControlEnable from "@assets/svg/touch-control-enable.svg" with { type: "text" };
|
import iconTouchControlEnable from "@assets/svg/touch-control-enable.svg" with { type: "text" };
|
||||||
import iconTouchControlDisable from "@assets/svg/touch-control-disable.svg" with { type: "text" };
|
import iconTouchControlDisable from "@assets/svg/touch-control-disable.svg" with { type: "text" };
|
||||||
|
|
||||||
|
// Game Bar
|
||||||
|
import iconCaretLeft from "@assets/svg/caret-left.svg" with { type: "text" };
|
||||||
|
import iconCaretRight from "@assets/svg/caret-right.svg" with { type: "text" };
|
||||||
|
import iconCamera from "@assets/svg/camera.svg" with { type: "text" };
|
||||||
import iconMicrophone from "@assets/svg/microphone.svg" with { type: "text" };
|
import iconMicrophone from "@assets/svg/microphone.svg" with { type: "text" };
|
||||||
import iconMicrophoneMuted from "@assets/svg/microphone-slash.svg" with { type: "text" };
|
import iconMicrophoneMuted from "@assets/svg/microphone-slash.svg" with { type: "text" };
|
||||||
|
|
||||||
@ -35,7 +37,9 @@ export const BxIcon = {
|
|||||||
|
|
||||||
REMOTE_PLAY: iconRemotePlay,
|
REMOTE_PLAY: iconRemotePlay,
|
||||||
|
|
||||||
CARET_RIGHT: iconCadetRight,
|
// Game Bar
|
||||||
|
CARET_LEFT: iconCaretLeft,
|
||||||
|
CARET_RIGHT: iconCaretRight,
|
||||||
SCREENSHOT: iconCamera,
|
SCREENSHOT: iconCamera,
|
||||||
TOUCH_CONTROL_ENABLE: iconTouchControlEnable,
|
TOUCH_CONTROL_ENABLE: iconTouchControlEnable,
|
||||||
TOUCH_CONTROL_DISABLE: iconTouchControlDisable,
|
TOUCH_CONTROL_DISABLE: iconTouchControlDisable,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user