Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions localtypings/pxtarget.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1186,6 +1186,7 @@ declare namespace ts.pxtc {
usedBuiltinParts?: string[];
allParts?: string[];
breakpoints?: number[];
theme?: string | pxt.Map<string>;
}

interface UpgradePolicy {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pxt-core",
"version": "13.1.14",
"version": "13.1.15",
"description": "Microsoft MakeCode provides Blocks / JavaScript / Python tools and editors",
"keywords": [
"TypeScript",
Expand Down
3 changes: 2 additions & 1 deletion pxtrunner/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ function initDriverAndOptions(
} = compileInfo || {};
let board = pxt.appTarget.simulator.boardDefinition;
let storedState: pxt.Map<string> = getStoredState(simOptions.id)
let theme: string | pxt.Map<string> = mainPkg.config?.theme ?? compileInfo?.theme;
let runOptions: pxsim.SimulatorRunOptions = {
debug: simOptions.debug,
mute: simOptions.mute,
Expand All @@ -449,7 +450,7 @@ function initDriverAndOptions(
autofocus: simOptions.autofocus,
queryParameters: simOptions.additionalQueryParameters,
mpRole: simOptions.mpRole,
theme: mainPkg.config?.theme,
theme,
};
if (pxt.appTarget.simulator && !simOptions.fullScreen)
runOptions.aspectRatio = parts.length && pxt.appTarget.simulator.partsAspectRatio
Expand Down
4 changes: 4 additions & 0 deletions theme/home.less
Original file line number Diff line number Diff line change
Expand Up @@ -867,6 +867,10 @@
touch-action: pan-y;
}

.projectsdialog .carouselbody {
min-width: max-content;
}

.carouselitem {
float: left;
}
Expand Down
Loading