mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-23 01:57:29 +00:00
Type skin selectors
This commit is contained in:
parent
2d97ccf964
commit
aa36580873
1 changed files with 6 additions and 2 deletions
|
|
@ -1,7 +1,11 @@
|
|||
import { LETTERS } from "./constants";
|
||||
import { FONT_LOOKUP, imageConstFromChar } from "./skinSprites";
|
||||
|
||||
export const imageSelectors = {
|
||||
interface Selectors {
|
||||
[name: string]: string[];
|
||||
}
|
||||
|
||||
export const imageSelectors: Selectors = {
|
||||
MAIN_BALANCE_BACKGROUND: ["#balance"],
|
||||
MAIN_BALANCE_THUMB: [
|
||||
"#balance::-webkit-slider-thumb",
|
||||
|
|
@ -329,7 +333,7 @@ LETTERS.forEach(character => {
|
|||
];
|
||||
});
|
||||
|
||||
export const cursorSelectors = {
|
||||
export const cursorSelectors: Selectors = {
|
||||
CLOSE: ["#title-bar #close"],
|
||||
// This is not quite right. There are some areas that show this cursor
|
||||
// but are not clickable.
|
||||
Loading…
Add table
Add a link
Reference in a new issue