@sequent-org/moodboard 1.4.39 → 1.4.41
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/package.json
CHANGED
package/src/core/PixiEngine.js
CHANGED
|
@@ -205,6 +205,11 @@ export class PixiEngine {
|
|
|
205
205
|
renderer.resolution = dpr;
|
|
206
206
|
}
|
|
207
207
|
renderer.resize(w, h);
|
|
208
|
+
// Немедленный перерендер — иначе до следующего тика PIXI буфер
|
|
209
|
+
// отображается очищенным (чёрный кадр) на время resize.
|
|
210
|
+
if (this.app?.stage) {
|
|
211
|
+
renderer.render(this.app.stage);
|
|
212
|
+
}
|
|
208
213
|
}
|
|
209
214
|
|
|
210
215
|
// Добавление/обновление сетки в gridLayer
|
|
@@ -78,7 +78,7 @@ export async function initCoreMoodBoard(board) {
|
|
|
78
78
|
boardId: board.options.boardId || 'workspace-board',
|
|
79
79
|
width: canvasSize.width,
|
|
80
80
|
height: canvasSize.height,
|
|
81
|
-
backgroundColor: board.options.theme === 'dark' ? 0x2a2a2a : parseInt(BOARD_PALETTE[
|
|
81
|
+
backgroundColor: board.options.theme === 'dark' ? 0x2a2a2a : parseInt(BOARD_PALETTE[4].board.replace('#', ''), 16),
|
|
82
82
|
saveEndpoint: board.options.saveEndpoint,
|
|
83
83
|
loadEndpoint: board.options.loadEndpoint,
|
|
84
84
|
};
|
package/src/ui/styles/chat.css
CHANGED
|
@@ -20,6 +20,18 @@
|
|
|
20
20
|
color: #374151;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
/* Fallback: на экранах < 1540px центрированный чат перекрывает правый кластер —
|
|
24
|
+
поднимаем чат над кластером и прижимаем к правому краю */
|
|
25
|
+
@media (max-width: 1540px) {
|
|
26
|
+
.moodboard-chat {
|
|
27
|
+
left: auto;
|
|
28
|
+
right: 16px;
|
|
29
|
+
bottom: 84px;
|
|
30
|
+
transform: none;
|
|
31
|
+
width: min(720px, calc(100% - 32px));
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
23
35
|
.moodboard-chat__history {
|
|
24
36
|
max-height: 360px;
|
|
25
37
|
overflow-y: auto;
|
|
@@ -889,6 +889,9 @@
|
|
|
889
889
|
inset: 0;
|
|
890
890
|
overflow: hidden;
|
|
891
891
|
touch-action: none;
|
|
892
|
+
/* Цвет совпадает с дефолтным фоном PIXI (0xF5F5F5),
|
|
893
|
+
чтобы при очистке WebGL-буфера во время resize не мелькал чёрный. */
|
|
894
|
+
background-color: #f5f5f5;
|
|
892
895
|
}
|
|
893
896
|
|
|
894
897
|
/* Toolbar Styles */
|