Skip to content
This repository was archived by the owner on Nov 17, 2024. It is now read-only.
This repository was archived by the owner on Nov 17, 2024. It is now read-only.

Applying styles does not refresh the look of copies inside room editors #493

@CosmoMyzrailGorynych

Description

@CosmoMyzrailGorynych

Describe the bug
If a user changes a style that is used by a copy in a currently opened room, the copies will still use a stale look unless a user manually reopens a room.

To Reproduce
Steps to reproduce the behavior:

  1. Create a style, a room, and a text template that uses that style. Put a copy of this template into a room.
  2. Open a style while leaving a room tab open, and make some changes.
  3. Apply changes to the style and switch back to room editor.
  4. Observe that the room editor has old text styles.

Expected behavior
Room editor should update the look of copies which style has changed.

System information report
Ct.js v4.0.0 😽 (runs from sources)

NW.JS v0.72.0
Chromium v109.0.5414.87
Node.js v19.3.0
Pixi.js v7.3.2

WebGPU UNAVAILABLE
WebGL available
WebGL vendor Google Inc. (Intel)
WebGL renderer ANGLE (Intel, Intel(R) UHD Graphics Direct3D11 vs_5_0 ps_5_0, D3D11)
OS win32 x64 // Windows_NT 10.0.22621

Metadata

Metadata

Labels

scope:ideThis involves changes to ct.IDE, its UI and logictype:bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions