Skip to content

Commit

Permalink
refactor(naming): rename instruments file to play-sample
Browse files Browse the repository at this point in the history
  • Loading branch information
domi7777 committed Oct 27, 2024
1 parent 0520ff1 commit a3b6330
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Loop.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {playSample, Sample} from './samples/instruments.ts';
import {playSample, Sample} from './samples/play-sample.ts';

type LoopEntry = {
instrument: Sample | null,
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/scenes/DrumsScene.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Phaser from 'phaser';
import {HexaColor, hexToColor} from '../utils/colors.ts';
import {playSample, Sample} from '../samples/instruments.ts';
import {playSample, Sample} from '../samples/play-sample.ts';
import {LoopTracksScene} from './LoopTracksScene.ts';
import {rotateArray} from '../utils/math.ts';

Expand Down
2 changes: 1 addition & 1 deletion src/scenes/LoopTracksScene.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {HexaColor, hexToColor} from '../utils/colors.ts';
import {FontFamily} from '../utils/fonts.ts';
import {EmptyScene} from './EmptyScene.ts';
import {Loop} from '../Loop.ts';
import {Sample} from '../samples/instruments.ts';
import {Sample} from '../samples/play-sample.ts';

const trackColorsState: Record<string, HexaColor> = {
selected: '#DDD',
Expand Down

0 comments on commit a3b6330

Please sign in to comment.