mirror of
https://github.com/litruv/picoGraph.git
synced 2026-07-24 10:46:06 +10:00
Add initial Pico-8 cartridges for testing
- Created test_cart.p8 with basic drawing functionality and a print statement. - Created test_unix.p8 with a simple initialization function.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { VARIABLE_SORT_MIME } from "../BlueprintWorkspaceConstants.js";
|
||||
import { getTypeColor } from "../../types/TypeRegistry.js";
|
||||
|
||||
/**
|
||||
* Renders the global variable summary list.
|
||||
@@ -225,6 +226,7 @@ export function renderVariableList({
|
||||
row.setAttribute("role", "button");
|
||||
row.dataset.variableId = variable.id;
|
||||
row.dataset.variableType = variable.type;
|
||||
row.style.setProperty("--overview-variable-color", getTypeColor(variable.type));
|
||||
row.draggable = true;
|
||||
row.setAttribute("aria-pressed", "false");
|
||||
|
||||
@@ -330,6 +332,7 @@ export function renderVariableList({
|
||||
typeButton.type = "button";
|
||||
typeButton.className = "variable-type-button";
|
||||
typeButton.dataset.variableType = variable.type;
|
||||
typeButton.style.setProperty("--overview-variable-color", getTypeColor(variable.type));
|
||||
typeButton.setAttribute("aria-haspopup", "menu");
|
||||
typeButton.setAttribute("aria-expanded", "false");
|
||||
typeButton.title = `Type: ${formatVariableType(variable.type)}`;
|
||||
|
||||
Reference in New Issue
Block a user