rgdawson wrote: > Start with "Black" theme. Go Setting | Interface. Change only Color. > Leave theme and everything else alone. > "NativeReceiver.updateToolbarColors" does not get called.
Then there is nothing to update, as "colour toolbars" is not enabled for "Black" theme. rgdawson wrote: > I also notice that "NativeReceiver.updateToolbarColors" gets called upon > opening the dialog and upon leaving it (for Light, Dark and Windows 10 > Dark), (whether anything was changed or not), but for Darker, Black, > Windows 10, it is not called upon opening the dialog and only gets > called on leaving if I have changed the theme. updateToolbarColors -should- only be called when the colours change. The function is called updateToolbarColors - but really it is the top/bottom colours that are updated. So, for a theme where the background colour is not the same as the bottom toolbar colour then updateToolbarColors is activated when a dialog is opened as the "bottom" colour is now the background colour. My main use case of this fuction was so that the Material APK could recolour Android's notification (top) and navigation (bottom) areas so that Material "appeared" to blend in with them. I should probably rename this function, but its not really worth it. *Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json (Use http: //SERVER:9000/material/?debug=json,cometd to also see update messages, e.g. play queue) 2. Open browser's developer tools 3. Open console tab in developer tools 4. REQ/RESP messages sent to/from LMS will be logged here. ------------------------------------------------------------------------ cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686 View this thread: http://forums.slimdevices.com/showthread.php?t=108550 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
