0 Replies Latest reply on Jan 3, 2018 9:29 PM by Silver Back Gorilla

    window.location on Mac bug?

    Silver Back Gorilla Level 1

      window.location in CC 2018 on my iMac with a 5k retina display reports coordinates that make no sense at all. In Windows it works fine. I created a simple test window with a button to alert coordinates. The coordinates make zero sense based on the window location. See the screenshots. Is there another way to get the coordinates?

       

      testWin = new Window('dialog');
      testWin.margins = 15;
      
      btn = testWin.add('button');
      btn.text = 'Where Am I?';
      btn.onClick=function(){alert(testWin.location);}
      
      testWin.show();
      

       

      Screen Shot 2018-01-04 at 12.17.57 AM.pngScreen Shot 2018-01-04 at 12.17.40 AM.pngScreen Shot 2018-01-04 at 12.15.50 AM.png