# File: greyscale.coffee

Defined in: | lib/psd/image_modes

## Variables Summary

module.exports =

      {
        setGreyscaleChannels: function() {
          this.channelsInfo = [
            {
              id: 0
            }
          ];
          if (this.channels() === 2) {
            return this.channelsInfo.push({
              id: -1
            });
          }
        },
        combineGreyscaleChannel: function() {
          var alpha, grey, i, _i, _ref, _results;
          _results = [];
          for (i = _i = 0, _ref = this.numPixels; 0 <= _ref ? _i < _ref : _i > _ref; i = 0 <= _ref ? ++_i : --_i) {
            grey = this.channelData[i];
            alpha = this.channels() === 2 ? this.channelData[this.channelLength + i] : 255;
            _results.push(this.pixelData.push(grey, grey, grey, alpha));
          }
          return _results;
        }
      }

Quickly fuzzy find classes, mixins, methods, file:

- T Open fuzzy finder dialog

Control the navigation frame:

- L Toggle list view
- C Show class list
- I Show mixin list
- F Show file list
- M Show method list
- E Show extras list

You can focus and blur the search input:

- S Focus search input
- Esc Blur search input