Skip to content

Commit

Permalink
🚚 chore: Make files organized
Browse files Browse the repository at this point in the history
  • Loading branch information
khk4912 committed Dec 25, 2023
1 parent 88699e2 commit 120371d
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/scripts/content_script.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { addButton, recordShortcut, waitForElement } from './utils/inject_btns'
import { addButton, recordShortcut, waitForElement } from './utils/inject/inject_btns'

async function main (): Promise<void> {
const btn = await waitForElement('.pzp-pc__bottom-buttons-right')
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/record_result.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { StreamInfo } from './types/record'
import { transcode } from './utils/transcode'
import { transcode } from './utils/record/transcode'

async function main (): Promise<void> {
const { recorderBlob } = await chrome.storage.local.get('recorderBlob')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Option } from '../types/option'
import { startRecordListener } from './record_events'
import type { Option } from '../../types/option'
import { startRecordListener } from '../record/record_events'

const pipIcon = `
<svg viewBox="-6.4 -6.4 28.80 28.80" xmlns="http://www.w3.org/2000/svg" fill="#ffffff" class="bi bi-pip" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <path d="M0 3.5A1.5 1.5 0 0 1 1.5 2h13A1.5 1.5 0 0 1 16 3.5v9a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 12.5v-9zM1.5 3a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-13z"></path> <path d="M8 8.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-5a.5.5 0 0 1-.5-.5v-3z"></path> </g></svg>
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { injectOverlay, removeOverlay, updateOverlay } from './overlay'
import { injectOverlay, removeOverlay, updateOverlay } from '../inject/overlay'
import { startRecord, stopRecord } from './record_stream'
import type { Video } from '../types/record'
import type { Video } from '../../types/record'

export function startRecordListener (e: Event): void {
(async (): Promise<void> => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Video, StreamInfo } from '../types/record'
import type { Option } from '../types/option'
import type { Video, StreamInfo } from '../../types/record'
import type { Option } from '../../types/option'

const checkIsMuted = (video: Video): boolean => {
return video.muted || video.volume === 0
Expand Down
File renamed without changes.

0 comments on commit 120371d

Please # to comment.