solid-pianoroll 0.0.25 → 0.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dev.cjs +44 -44
- package/dist/dev.css +38 -38
- package/dist/dev.js +44 -44
- package/dist/dev.jsx +44 -44
- package/dist/index.cjs +44 -44
- package/dist/index.css +38 -38
- package/dist/index.js +44 -44
- package/dist/index.jsx +44 -44
- package/package.json +4 -1
package/dist/index.cjs
CHANGED
|
@@ -7,8 +7,8 @@ var store = require('solid-js/store');
|
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
8
8
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
9
9
|
|
|
10
|
-
//
|
|
11
|
-
var
|
|
10
|
+
// css-module:./PianoRoll.module.css#css-module
|
|
11
|
+
var PianoRoll_module_default = { "PianoRoll": "_PianoRoll_1v1e7_1", "PianoRollContainer": "_PianoRollContainer_1v1e7_10", "PianoRollLeftColumn": "_PianoRollLeftColumn_1v1e7_17", "showTrackList": "_showTrackList_1v1e7_24", "PianoRollRightColumn": "_PianoRollRightColumn_1v1e7_29" };
|
|
12
12
|
var defaultState = {
|
|
13
13
|
ppq: 0,
|
|
14
14
|
mode: "keys",
|
|
@@ -150,8 +150,8 @@ var usePianoRollContext = /* @__PURE__ */ __name(() => {
|
|
|
150
150
|
}, "usePianoRollContext");
|
|
151
151
|
var splitContextProps = /* @__PURE__ */ __name((allProps) => solidJs.splitProps(allProps, [...pianoRollStatePropNames, "showAllTracks", "showTrackList"]), "splitContextProps");
|
|
152
152
|
|
|
153
|
-
//
|
|
154
|
-
var
|
|
153
|
+
// css-module:./PianoRollKeys.module.css#css-module
|
|
154
|
+
var PianoRollKeys_module_default = { "PianoRollKeys": "_PianoRollKeys_1ne9i_1", "Key": "_Key_1ne9i_14", "black": "_black_1ne9i_29", "white": "_white_1ne9i_38", "down": "_down_1ne9i_46" };
|
|
155
155
|
function createViewPortDimension(getState) {
|
|
156
156
|
const getStateWithFunctions = /* @__PURE__ */ __name(() => {
|
|
157
157
|
const state2 = getState();
|
|
@@ -244,8 +244,8 @@ var useViewPortDimension = /* @__PURE__ */ __name((name) => {
|
|
|
244
244
|
return viewPort;
|
|
245
245
|
}, "useViewPortDimension");
|
|
246
246
|
|
|
247
|
-
//
|
|
248
|
-
var
|
|
247
|
+
// css-module:./ScrollZoomContainer.module.css#css-module
|
|
248
|
+
var ScrollZoomContainer_module_default = { "ScrollZoomContainer": "_ScrollZoomContainer_f395r_1" };
|
|
249
249
|
|
|
250
250
|
// src/viewport/ScrollZoomContainer.tsx
|
|
251
251
|
var _tmpl$ = /* @__PURE__ */ web.template(`<div><div><div><div></div></div></div></div>`, 8);
|
|
@@ -335,7 +335,7 @@ var ScrollZoomContainer = /* @__PURE__ */ __name((props) => {
|
|
|
335
335
|
},
|
|
336
336
|
get classList() {
|
|
337
337
|
return {
|
|
338
|
-
[
|
|
338
|
+
[ScrollZoomContainer_module_default.ScrollZoomContainer]: true,
|
|
339
339
|
...divProps.classList
|
|
340
340
|
};
|
|
341
341
|
}
|
|
@@ -421,10 +421,10 @@ var PianoRollKeys = /* @__PURE__ */ __name(() => {
|
|
|
421
421
|
};
|
|
422
422
|
web.effect((_p$) => {
|
|
423
423
|
const _v$3 = {
|
|
424
|
-
[
|
|
425
|
-
[
|
|
426
|
-
[
|
|
427
|
-
[
|
|
424
|
+
[PianoRollKeys_module_default["Key"]]: true,
|
|
425
|
+
[PianoRollKeys_module_default["black"]]: key().isBlack,
|
|
426
|
+
[PianoRollKeys_module_default["white"]]: !key().isBlack,
|
|
427
|
+
[PianoRollKeys_module_default["down"]]: isDown()
|
|
428
428
|
}, _v$4 = key().name, _v$5 = key().number % 12, _v$6 = `${virtualDimensions().offset - virtualDimensions().size * (!key().isBlack ? nextIsBlack ? 1 / 2 : 0 : 0)}px`, _v$7 = `${virtualDimensions().size + (!key().isBlack && nextIsBlack ? virtualDimensions().size / 2 : 0) + (!key().isBlack && previousIsBlack ? virtualDimensions().size / 2 : 0)}px`, _v$8 = `0px 0px ${Math.min(virtualDimensions().size / 20, 1)}px ${Math.min(virtualDimensions().size / 50, 1)}px rgba(0, 0, 0, 0.5) ${key().isBlack ? "" : "inset"}` + isDown() ? `0px 0px ${Math.min(virtualDimensions().size / 8, 2)}px ${Math.min(virtualDimensions().size / 20, 2)}px rgba(0, 0, 0, 0.5) inset` : "";
|
|
429
429
|
_p$._v$3 = web.classList(_el$2, _v$3, _p$._v$3);
|
|
430
430
|
_v$4 !== _p$._v$4 && web.setAttribute(_el$2, "title", _p$._v$4 = _v$4);
|
|
@@ -449,7 +449,7 @@ var PianoRollKeys = /* @__PURE__ */ __name(() => {
|
|
|
449
449
|
}
|
|
450
450
|
}));
|
|
451
451
|
web.effect((_p$) => {
|
|
452
|
-
const _v$ =
|
|
452
|
+
const _v$ = PianoRollKeys_module_default.PianoRollKeys, _v$2 = `${horizontalViewPort().pixelSize}px`;
|
|
453
453
|
_v$ !== _p$._v$ && web.className(_el$, _p$._v$ = _v$);
|
|
454
454
|
_v$2 !== _p$._v$2 && _el$.style.setProperty("width", _p$._v$2 = _v$2);
|
|
455
455
|
return _p$;
|
|
@@ -472,8 +472,8 @@ var keys = Array.from({
|
|
|
472
472
|
var PianoRollKeys_default = PianoRollKeys;
|
|
473
473
|
web.delegateEvents(["mousedown", "mouseup"]);
|
|
474
474
|
|
|
475
|
-
//
|
|
476
|
-
var
|
|
475
|
+
// css-module:./PianoRollNotes.module.css#css-module
|
|
476
|
+
var PianoRollNotes_module_default = { "PianoRollNotes": "_PianoRollNotes_u3pew_1", "Note": "_Note_u3pew_12", "trimStart": "_trimStart_u3pew_22", "trimEnd": "_trimEnd_u3pew_26" };
|
|
477
477
|
|
|
478
478
|
// src/PianoRollNotes.tsx
|
|
479
479
|
var _tmpl$3 = /* @__PURE__ */ web.template(`<div></div>`, 2);
|
|
@@ -550,7 +550,7 @@ var PianoRollNotes = /* @__PURE__ */ __name((props) => {
|
|
|
550
550
|
window.addEventListener("mouseup", stopDragging);
|
|
551
551
|
}, "startDragging");
|
|
552
552
|
const getClasses = /* @__PURE__ */ __name((noteDragMode2) => {
|
|
553
|
-
return noteDragMode2 ? [
|
|
553
|
+
return noteDragMode2 ? [PianoRollNotes_module_default.Note, PianoRollNotes_module_default[noteDragMode2]] : [PianoRollNotes_module_default.Note];
|
|
554
554
|
}, "getClasses");
|
|
555
555
|
return (() => {
|
|
556
556
|
const _el$ = _tmpl$3.cloneNode(true);
|
|
@@ -657,7 +657,7 @@ var PianoRollNotes = /* @__PURE__ */ __name((props) => {
|
|
|
657
657
|
}
|
|
658
658
|
}));
|
|
659
659
|
web.effect((_$p) => web.classList(_el$, {
|
|
660
|
-
[
|
|
660
|
+
[PianoRollNotes_module_default.PianoRollNotes]: true
|
|
661
661
|
}, _$p));
|
|
662
662
|
return _el$;
|
|
663
663
|
})();
|
|
@@ -665,8 +665,8 @@ var PianoRollNotes = /* @__PURE__ */ __name((props) => {
|
|
|
665
665
|
var PianoRollNotes_default = PianoRollNotes;
|
|
666
666
|
web.delegateEvents(["mousedown", "mousemove", "dblclick"]);
|
|
667
667
|
|
|
668
|
-
//
|
|
669
|
-
var
|
|
668
|
+
// css-module:./PianoRollGrid.module.css#css-module
|
|
669
|
+
var PianoRollGrid_module_default = { "PianoRollGrid": "_PianoRollGrid_qke5f_1", "PianoRollGrid-Row": "_PianoRollGrid-Row_qke5f_7", "IsDark": "_IsDark_qke5f_14", "Key": "_Key_qke5f_18", "IsBlackAndNextIsWhite": "_IsBlackAndNextIsWhite_qke5f_21", "PianoRollGrid-Time": "_PianoRollGrid-Time_qke5f_26", "Highlighted": "_Highlighted_qke5f_37", "HighlightedBorder": "_HighlightedBorder_qke5f_41" };
|
|
670
670
|
var usePianoRollGrid = /* @__PURE__ */ __name(() => {
|
|
671
671
|
const context = usePianoRollContext();
|
|
672
672
|
const horizontalViewPort = solidJs.createMemo(() => useViewPortDimension("horizontal"));
|
|
@@ -737,9 +737,9 @@ var PianoRollGrid = /* @__PURE__ */ __name(() => {
|
|
|
737
737
|
const _el$2 = _tmpl$4.cloneNode(true);
|
|
738
738
|
web.effect((_p$) => {
|
|
739
739
|
const _v$ = {
|
|
740
|
-
[
|
|
741
|
-
[
|
|
742
|
-
[
|
|
740
|
+
[PianoRollGrid_module_default["PianoRollGrid-Time"]]: true,
|
|
741
|
+
[PianoRollGrid_module_default["Highlighted"]]: entry().isHighlighted,
|
|
742
|
+
[PianoRollGrid_module_default["HighlightedBorder"]]: entry().hasHighlightedBorder
|
|
743
743
|
}, _v$2 = `${entry().virtualDimensions.offset}px`, _v$3 = `${entry().virtualDimensions.size}px`;
|
|
744
744
|
_p$._v$ = web.classList(_el$2, _v$, _p$._v$);
|
|
745
745
|
_v$2 !== _p$._v$2 && _el$2.style.setProperty("left", _p$._v$2 = _v$2);
|
|
@@ -772,10 +772,10 @@ var PianoRollGrid = /* @__PURE__ */ __name(() => {
|
|
|
772
772
|
const _el$3 = _tmpl$4.cloneNode(true);
|
|
773
773
|
web.effect((_p$) => {
|
|
774
774
|
const _v$4 = {
|
|
775
|
-
[
|
|
776
|
-
[
|
|
777
|
-
[
|
|
778
|
-
[
|
|
775
|
+
[PianoRollGrid_module_default["PianoRollGrid-Row"]]: true,
|
|
776
|
+
[PianoRollGrid_module_default["Key"]]: true,
|
|
777
|
+
[PianoRollGrid_module_default["IsDark"]]: key().isBlack,
|
|
778
|
+
[PianoRollGrid_module_default["IsBlackAndNextIsWhite"]]: !key().isBlack && !blackKeys.includes((key().number + 1) % 12)
|
|
779
779
|
}, _v$5 = `${virtualDimensions().offset}px`, _v$6 = `${virtualDimensions().size}px`;
|
|
780
780
|
_p$._v$4 = web.classList(_el$3, _v$4, _p$._v$4);
|
|
781
781
|
_v$5 !== _p$._v$5 && _el$3.style.setProperty("top", _p$._v$5 = _v$5);
|
|
@@ -812,8 +812,8 @@ var PianoRollGrid = /* @__PURE__ */ __name(() => {
|
|
|
812
812
|
const _el$4 = _tmpl$4.cloneNode(true);
|
|
813
813
|
web.effect((_p$) => {
|
|
814
814
|
const _v$7 = {
|
|
815
|
-
[
|
|
816
|
-
[
|
|
815
|
+
[PianoRollGrid_module_default["PianoRollGrid-Row"]]: true,
|
|
816
|
+
[PianoRollGrid_module_default["IsDark"]]: index() % 2 === 0
|
|
817
817
|
}, _v$8 = `${virtualDimensions().offset}px`, _v$9 = `${virtualDimensions().size}px`;
|
|
818
818
|
_p$._v$7 = web.classList(_el$4, _v$7, _p$._v$7);
|
|
819
819
|
_v$8 !== _p$._v$8 && _el$4.style.setProperty("top", _p$._v$8 = _v$8);
|
|
@@ -831,7 +831,7 @@ var PianoRollGrid = /* @__PURE__ */ __name(() => {
|
|
|
831
831
|
});
|
|
832
832
|
}
|
|
833
833
|
}), null);
|
|
834
|
-
web.effect(() => web.className(_el$,
|
|
834
|
+
web.effect(() => web.className(_el$, PianoRollGrid_module_default.PianoRollGrid));
|
|
835
835
|
return _el$;
|
|
836
836
|
})();
|
|
837
837
|
}, "PianoRollGrid");
|
|
@@ -888,8 +888,8 @@ var ZoomSliderControl = /* @__PURE__ */ __name((props) => {
|
|
|
888
888
|
}, "ZoomSliderControl");
|
|
889
889
|
var ZoomSliderControl_default = ZoomSliderControl;
|
|
890
890
|
|
|
891
|
-
//
|
|
892
|
-
var
|
|
891
|
+
// css-module:./PianoRollTrackList.module.css#css-module
|
|
892
|
+
var PianoRollTrackList_module_default = { "PianoRollTrackList": "_PianoRollTrackList_11kti_1", "Track": "_Track_11kti_7", "selected": "_selected_11kti_21" };
|
|
893
893
|
var _tmpl$6 = /* @__PURE__ */ web.template(`<div></div>`, 2);
|
|
894
894
|
var _tmpl$22 = /* @__PURE__ */ web.template(`<div> </div>`, 2);
|
|
895
895
|
var PianoRollTrackList = /* @__PURE__ */ __name(() => {
|
|
@@ -914,8 +914,8 @@ var PianoRollTrackList = /* @__PURE__ */ __name(() => {
|
|
|
914
914
|
web.insert(_el$2, () => track().name || "[unnamed track]", null);
|
|
915
915
|
web.effect((_p$) => {
|
|
916
916
|
const _v$ = {
|
|
917
|
-
[
|
|
918
|
-
[
|
|
917
|
+
[PianoRollTrackList_module_default["Track"]]: true,
|
|
918
|
+
[PianoRollTrackList_module_default["selected"]]: index === context.selectedTrackIndex
|
|
919
919
|
}, _v$2 = track().name, _v$3 = `${virtualDimensions().offset}px`, _v$4 = `${virtualDimensions().size}px`;
|
|
920
920
|
_p$._v$ = web.classList(_el$2, _v$, _p$._v$);
|
|
921
921
|
_v$2 !== _p$._v$2 && web.setAttribute(_el$2, "title", _p$._v$2 = _v$2);
|
|
@@ -933,7 +933,7 @@ var PianoRollTrackList = /* @__PURE__ */ __name(() => {
|
|
|
933
933
|
});
|
|
934
934
|
}
|
|
935
935
|
}));
|
|
936
|
-
web.effect(() => web.className(_el$,
|
|
936
|
+
web.effect(() => web.className(_el$, PianoRollTrackList_module_default.PianoRollTrackList));
|
|
937
937
|
return _el$;
|
|
938
938
|
})();
|
|
939
939
|
}, "PianoRollTrackList");
|
|
@@ -1061,8 +1061,8 @@ var PianoRollTrackListScroller = /* @__PURE__ */ __name((props) => {
|
|
|
1061
1061
|
}, "PianoRollTrackListScroller");
|
|
1062
1062
|
var PianoRollTrackListScroller_default = PianoRollTrackListScroller;
|
|
1063
1063
|
|
|
1064
|
-
//
|
|
1065
|
-
var
|
|
1064
|
+
// css-module:./PianoRollScale.module.css#css-module
|
|
1065
|
+
var PianoRollScale_module_default = { "PianoRollScale": "_PianoRollScale_1khhn_1", "PianoRollScale-Time": "_PianoRollScale-Time_1khhn_7", "PianoRollScale-Label": "_PianoRollScale-Label_1khhn_23", "Highlighted": "_Highlighted_1khhn_31", "HighlightedBorder": "_HighlightedBorder_1khhn_35" };
|
|
1066
1066
|
|
|
1067
1067
|
// src/PianoRollScale.tsx
|
|
1068
1068
|
var _tmpl$7 = /* @__PURE__ */ web.template(`<div></div>`, 2);
|
|
@@ -1103,15 +1103,15 @@ var PianoRollScale = /* @__PURE__ */ __name(() => {
|
|
|
1103
1103
|
get children() {
|
|
1104
1104
|
const _el$3 = _tmpl$7.cloneNode(true);
|
|
1105
1105
|
web.insert(_el$3, () => entry().label);
|
|
1106
|
-
web.effect(() => web.className(_el$3,
|
|
1106
|
+
web.effect(() => web.className(_el$3, PianoRollScale_module_default["PianoRollScale-Label"]));
|
|
1107
1107
|
return _el$3;
|
|
1108
1108
|
}
|
|
1109
1109
|
}));
|
|
1110
1110
|
web.effect((_p$) => {
|
|
1111
1111
|
const _v$ = {
|
|
1112
|
-
[
|
|
1113
|
-
[
|
|
1114
|
-
[
|
|
1112
|
+
[PianoRollScale_module_default["PianoRollScale-Time"]]: true,
|
|
1113
|
+
[PianoRollScale_module_default["Highlighted"]]: entry().isHighlighted,
|
|
1114
|
+
[PianoRollScale_module_default["HighlightedBorder"]]: entry().hasHighlightedBorder
|
|
1115
1115
|
}, _v$2 = `${entry().virtualDimensions.offset}px`, _v$3 = `${entry().virtualDimensions.size}px`;
|
|
1116
1116
|
_p$._v$ = web.classList(_el$2, _v$, _p$._v$);
|
|
1117
1117
|
_v$2 !== _p$._v$2 && _el$2.style.setProperty("left", _p$._v$2 = _v$2);
|
|
@@ -1127,7 +1127,7 @@ var PianoRollScale = /* @__PURE__ */ __name(() => {
|
|
|
1127
1127
|
});
|
|
1128
1128
|
}
|
|
1129
1129
|
}));
|
|
1130
|
-
web.effect(() => web.className(_el$,
|
|
1130
|
+
web.effect(() => web.className(_el$, PianoRollScale_module_default.PianoRollScale));
|
|
1131
1131
|
return _el$;
|
|
1132
1132
|
})();
|
|
1133
1133
|
}, "PianoRollScale");
|
|
@@ -1150,7 +1150,7 @@ var PianoRoll = /* @__PURE__ */ __name((allProps) => {
|
|
|
1150
1150
|
const _el$ = _tmpl$42.cloneNode(true);
|
|
1151
1151
|
web.spread(_el$, web.mergeProps(divProps, {
|
|
1152
1152
|
get ["class"]() {
|
|
1153
|
-
return
|
|
1153
|
+
return PianoRoll_module_default.PianoRoll;
|
|
1154
1154
|
}
|
|
1155
1155
|
}), false, true);
|
|
1156
1156
|
web.insert(_el$, web.createComponent(PianoRollScrollZoomViewPort_default, {
|
|
@@ -1229,9 +1229,9 @@ var PianoRoll = /* @__PURE__ */ __name((allProps) => {
|
|
|
1229
1229
|
}
|
|
1230
1230
|
}), null);
|
|
1231
1231
|
web.effect((_p$) => {
|
|
1232
|
-
const _v$ =
|
|
1233
|
-
[
|
|
1234
|
-
[
|
|
1232
|
+
const _v$ = PianoRoll_module_default.PianoRollContainer, _v$2 = {
|
|
1233
|
+
[PianoRoll_module_default.PianoRollLeftColumn]: true,
|
|
1234
|
+
[PianoRoll_module_default.showTrackList]: context.showTrackList
|
|
1235
1235
|
};
|
|
1236
1236
|
_v$ !== _p$._v$ && web.className(_el$2, _p$._v$ = _v$);
|
|
1237
1237
|
_p$._v$2 = web.classList(_el$3, _v$2, _p$._v$2);
|
package/dist/index.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/* src/PianoRoll.module.css */
|
|
2
|
-
.
|
|
1
|
+
/* css-module:/Users/jascha/dev/solid-pianoroll/src/PianoRoll.module.css/#css-module-data */
|
|
2
|
+
._PianoRoll_1v1e7_1 {
|
|
3
3
|
box-sizing: border-box;
|
|
4
4
|
display: flex;
|
|
5
5
|
overflow: hidden;
|
|
@@ -7,24 +7,24 @@
|
|
|
7
7
|
height: 100%;
|
|
8
8
|
user-select: none;
|
|
9
9
|
}
|
|
10
|
-
.
|
|
10
|
+
._PianoRollContainer_1v1e7_10 {
|
|
11
11
|
overflow: hidden;
|
|
12
12
|
height: 100%;
|
|
13
13
|
display: flex;
|
|
14
14
|
flex-direction: row;
|
|
15
15
|
}
|
|
16
|
-
.
|
|
16
|
+
._PianoRollLeftColumn_1v1e7_17 {
|
|
17
17
|
display: flex;
|
|
18
18
|
overflow: hidden;
|
|
19
19
|
flex-direction: column;
|
|
20
20
|
max-width: 250px;
|
|
21
21
|
margin-top: 30px;
|
|
22
22
|
}
|
|
23
|
-
.
|
|
23
|
+
._PianoRollLeftColumn_1v1e7_17._showTrackList_1v1e7_24 {
|
|
24
24
|
width: 30%;
|
|
25
25
|
margin-top: 0;
|
|
26
26
|
}
|
|
27
|
-
.
|
|
27
|
+
._PianoRollRightColumn_1v1e7_29 {
|
|
28
28
|
display: flex;
|
|
29
29
|
position: relative;
|
|
30
30
|
flex-direction: column;
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
height: 100%;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
/* src/PianoRollKeys.module.css */
|
|
36
|
-
.
|
|
35
|
+
/* css-module:/Users/jascha/dev/solid-pianoroll/src/PianoRollKeys.module.css/#css-module-data */
|
|
36
|
+
._PianoRollKeys_1ne9i_1 {
|
|
37
37
|
position: relative;
|
|
38
38
|
height: 100%;
|
|
39
39
|
border-width: 0;
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
cursor: pointer;
|
|
46
46
|
background: black;
|
|
47
47
|
}
|
|
48
|
-
.
|
|
48
|
+
._Key_1ne9i_14 {
|
|
49
49
|
transition-property: background-color, box-shadow;
|
|
50
50
|
transition-duration: 200ms;
|
|
51
51
|
transition-timing-function: ease-out;
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
transform: rotateX(0deg);
|
|
60
60
|
perspective: 100px;
|
|
61
61
|
}
|
|
62
|
-
.
|
|
62
|
+
._black_1ne9i_29 {
|
|
63
63
|
background: black;
|
|
64
64
|
border-top-right-radius: 12%;
|
|
65
65
|
border-bottom-right-radius: 12%;
|
|
@@ -67,28 +67,28 @@
|
|
|
67
67
|
z-index: 1;
|
|
68
68
|
border: 1px black outset;
|
|
69
69
|
}
|
|
70
|
-
.
|
|
70
|
+
._white_1ne9i_38 {
|
|
71
71
|
background: white;
|
|
72
72
|
border-top-width: 0.5px;
|
|
73
73
|
border-bottom-width: 0.5px;
|
|
74
74
|
border-top-right-radius: 4%;
|
|
75
75
|
border-bottom-right-radius: 4%;
|
|
76
76
|
}
|
|
77
|
-
.
|
|
77
|
+
._down_1ne9i_46 {
|
|
78
78
|
transition: none;
|
|
79
79
|
background: red;
|
|
80
80
|
transform: rotateX(0deg) rotateY(20deg);
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
/* src/viewport/ScrollZoomContainer.module.css */
|
|
84
|
-
.
|
|
83
|
+
/* css-module:/Users/jascha/dev/solid-pianoroll/src/viewport/ScrollZoomContainer.module.css/#css-module-data */
|
|
84
|
+
._ScrollZoomContainer_f395r_1 {
|
|
85
85
|
height: 100%;
|
|
86
86
|
width: 100%;
|
|
87
87
|
z-index: 4;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
/* src/PianoRollNotes.module.css */
|
|
91
|
-
.
|
|
90
|
+
/* css-module:/Users/jascha/dev/solid-pianoroll/src/PianoRollNotes.module.css/#css-module-data */
|
|
91
|
+
._PianoRollNotes_u3pew_1 {
|
|
92
92
|
position: absolute;
|
|
93
93
|
flex: 1;
|
|
94
94
|
top: 0;
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
z-index: 1;
|
|
99
99
|
cursor: grab;
|
|
100
100
|
}
|
|
101
|
-
.
|
|
101
|
+
._Note_u3pew_12 {
|
|
102
102
|
position: absolute;
|
|
103
103
|
box-sizing: border-box;
|
|
104
104
|
border-width: 0.5px;
|
|
@@ -106,37 +106,37 @@
|
|
|
106
106
|
border-color: #a00;
|
|
107
107
|
cursor: move;
|
|
108
108
|
}
|
|
109
|
-
.
|
|
109
|
+
._Note_u3pew_12._trimStart_u3pew_22 {
|
|
110
110
|
cursor: w-resize;
|
|
111
111
|
}
|
|
112
|
-
.
|
|
112
|
+
._Note_u3pew_12._trimEnd_u3pew_26 {
|
|
113
113
|
cursor: e-resize;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
/* src/PianoRollGrid.module.css */
|
|
117
|
-
.
|
|
116
|
+
/* css-module:/Users/jascha/dev/solid-pianoroll/src/PianoRollGrid.module.css/#css-module-data */
|
|
117
|
+
._PianoRollGrid_qke5f_1 {
|
|
118
118
|
position: relative;
|
|
119
119
|
width: 100%;
|
|
120
120
|
height: 100%;
|
|
121
121
|
}
|
|
122
|
-
.
|
|
122
|
+
._PianoRollGrid-Row_qke5f_7 {
|
|
123
123
|
position: absolute;
|
|
124
124
|
border-style: solid;
|
|
125
125
|
border-color: gray;
|
|
126
126
|
width: 100%;
|
|
127
127
|
border-width: 0;
|
|
128
128
|
}
|
|
129
|
-
.
|
|
129
|
+
._PianoRollGrid-Row_qke5f_7._IsDark_qke5f_14 {
|
|
130
130
|
background-color: rgba(0, 0, 0, 0.2);
|
|
131
131
|
}
|
|
132
|
-
.
|
|
132
|
+
._PianoRollGrid-Row_qke5f_7._Key_qke5f_18 {
|
|
133
133
|
border-width: 0px 1px 0px 0;
|
|
134
134
|
}
|
|
135
|
-
.
|
|
135
|
+
._PianoRollGrid-Row_qke5f_7._IsBlackAndNextIsWhite_qke5f_21 {
|
|
136
136
|
background-color: rgba(0, 0, 0, 0.2);
|
|
137
137
|
border-width: 0.1px 1px 0.1px 0;
|
|
138
138
|
}
|
|
139
|
-
.
|
|
139
|
+
._PianoRollGrid-Time_qke5f_26 {
|
|
140
140
|
position: absolute;
|
|
141
141
|
box-sizing: border-box;
|
|
142
142
|
top: 0px;
|
|
@@ -146,20 +146,20 @@
|
|
|
146
146
|
border-left-color: #bbb;
|
|
147
147
|
background: #ccc;
|
|
148
148
|
}
|
|
149
|
-
.
|
|
149
|
+
._PianoRollGrid-Time_qke5f_26._Highlighted_qke5f_37 {
|
|
150
150
|
background: #ddd;
|
|
151
151
|
}
|
|
152
|
-
.
|
|
152
|
+
._PianoRollGrid-Time_qke5f_26._HighlightedBorder_qke5f_41 {
|
|
153
153
|
border-left-color: gray;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
/* src/PianoRollTrackList.module.css */
|
|
157
|
-
.
|
|
156
|
+
/* css-module:/Users/jascha/dev/solid-pianoroll/src/PianoRollTrackList.module.css/#css-module-data */
|
|
157
|
+
._PianoRollTrackList_11kti_1 {
|
|
158
158
|
position: relative;
|
|
159
159
|
height: 100%;
|
|
160
160
|
flex: 1;
|
|
161
161
|
}
|
|
162
|
-
.
|
|
162
|
+
._Track_11kti_7 {
|
|
163
163
|
border-width: 0px;
|
|
164
164
|
position: absolute;
|
|
165
165
|
box-sizing: border-box;
|
|
@@ -172,17 +172,17 @@
|
|
|
172
172
|
cursor: pointer;
|
|
173
173
|
background: lightgrey;
|
|
174
174
|
}
|
|
175
|
-
Track.
|
|
175
|
+
Track._selected_11kti_21 {
|
|
176
176
|
background: gray;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
/* src/PianoRollScale.module.css */
|
|
180
|
-
.
|
|
179
|
+
/* css-module:/Users/jascha/dev/solid-pianoroll/src/PianoRollScale.module.css/#css-module-data */
|
|
180
|
+
._PianoRollScale_1khhn_1 {
|
|
181
181
|
position: relative;
|
|
182
182
|
width: 100%;
|
|
183
183
|
height: 100%;
|
|
184
184
|
}
|
|
185
|
-
.
|
|
185
|
+
._PianoRollScale-Time_1khhn_7 {
|
|
186
186
|
position: absolute;
|
|
187
187
|
box-sizing: border-box;
|
|
188
188
|
top: 0px;
|
|
@@ -197,16 +197,16 @@ Track.selected {
|
|
|
197
197
|
display: flex;
|
|
198
198
|
align-items: center;
|
|
199
199
|
}
|
|
200
|
-
.
|
|
200
|
+
._PianoRollScale-Label_1khhn_23 {
|
|
201
201
|
position: absolute;
|
|
202
202
|
z-index: 1;
|
|
203
203
|
color: #ccc;
|
|
204
204
|
margin-left: 3px;
|
|
205
205
|
font-size: 0.8em;
|
|
206
206
|
}
|
|
207
|
-
.
|
|
207
|
+
._PianoRollScale-Time_1khhn_7._Highlighted_1khhn_31 {
|
|
208
208
|
background: #666;
|
|
209
209
|
}
|
|
210
|
-
.
|
|
210
|
+
._PianoRollScale-Time_1khhn_7._HighlightedBorder_1khhn_35 {
|
|
211
211
|
border-left-color: #111;
|
|
212
212
|
}
|