I would probably change this logic since it might give false positives.. I would probably pass a flag to the `_toggleSettingsView`, something like `isOpen` to make sure we are expecting the proper value.

```js
return (isOpen && transform === 'matrix(1, 0, 0, 1, 256, 0)') ||
  (!isOpen && transform === 'matrix(1, 0, 0, 1, 0, 0)');
```