Merge remote-tracking branch 'origin/main'
# Conflicts: # lib/client.js # lib/client.js.map
This commit is contained in:
@@ -852,8 +852,10 @@ var SkinPresenter = class {
|
||||
portrait;
|
||||
preloads;
|
||||
enabled = true;
|
||||
frame = 0;
|
||||
pendingFrame = 0;
|
||||
// Default to the max frame so the first paint after load is the dark shell;
|
||||
// starting at 0 flashed the light palette before the directory resolved.
|
||||
frame = PREVIEW_MAX_FRAME;
|
||||
pendingFrame = PREVIEW_MAX_FRAME;
|
||||
raf = 0;
|
||||
disposed = false;
|
||||
unsubscribe;
|
||||
@@ -1042,7 +1044,7 @@ function LiangEffortSlider({ directory, load, select, presenter, scope }) {
|
||||
reasoning?.selection.reasoningEffort,
|
||||
reasoning?.defaultEffort
|
||||
);
|
||||
const committedFrame = committedIndex < 0 ? 0 : frameForEffort(committedIndex, efforts.length);
|
||||
const committedFrame = committedIndex < 0 ? PREVIEW_MAX_FRAME : frameForEffort(committedIndex, efforts.length);
|
||||
const bindEffort = skin.bindEffort;
|
||||
const [frame, setFrame] = (0, import_react.useState)(() => bindEffort ? committedFrame : presenter.getFrame());
|
||||
const [pending, setPending] = (0, import_react.useState)(false);
|
||||
|
||||
Reference in New Issue
Block a user