You are reading a single comment by @Chris and its replies. Click here to read the full conversation.
  • ahh...yes... I thought I must have missed something crucial! :)

    function update(options) {
      if (options && options.height) {
        initCmds[4] = options.height-1;
        initCmds[15] = options.height==64 ? 0x12 : 0x02;
        flipCmds[5] = (options.height>>3)-1;
      }
    }
    

    Line 3 should be:

    initCmds[3] = options.height-1;
    

    ...and won't that break backwards-compatibility? I think if no options are set you should create one and default in options.height = 64.

About

Avatar for Chris @Chris started