mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 15:58:39 +09:00
DevTools - style editor - StyleSheetsActor should use the parent tabActor to retrieve the list of windows and react to new/removed windows
https://github.com/MoonchildProductions/moebius/pull/124
This commit is contained in:
parent
54f2e6eafd
commit
7177b5926a
6 changed files with 212 additions and 65 deletions
|
|
@ -105,6 +105,14 @@ exports.styleSheetSpec = styleSheetSpec;
|
|||
const styleSheetsSpec = generateActorSpec({
|
||||
typeName: "stylesheets",
|
||||
|
||||
events: {
|
||||
"stylesheet-added": {
|
||||
type: "stylesheetAdded",
|
||||
sheet: Arg(0, "stylesheet"),
|
||||
isNew: Arg(1, "boolean")
|
||||
},
|
||||
},
|
||||
|
||||
methods: {
|
||||
getStyleSheets: {
|
||||
request: {},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue