D29760: Replace MapProxySource with some javascript code

Kai Uwe Broulik noreply at phabricator.kde.org
Fri May 15 10:18:40 BST 2020


broulik added inline comments.

INLINE COMMENTS

> SensorFace.qml:49
> +            result = []
> +            for (var sensor of root.controller.highPrioritySensorIds) {
> +                result.push(root.controller.sensorColors[sensor])

To match "Map"proxy source could have done ;)

  const controller = root.controller;
  return controller.highPrioritySensorIds.map((sensor) => {
      return controller.sensorColors[sensor];
  });

REPOSITORY
  R111 KSysguard Library

REVISION DETAIL
  https://phabricator.kde.org/D29760

To: ahiemstra, #plasma, ngraham, mart
Cc: broulik, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200515/2eced9de/attachment.htm>


More information about the Plasma-devel mailing list