Closed pconerly closed 8 years ago
There are missing rows and columns when the standard_problem widget is used with drawBoardCoords and a full board.
standard_problem
drawBoardCoords
Using this in htmltests/Derp.html
htmltests/Derp.html
<!DOCTYPE html> <html> <head> <title> ProblemTester </title> <script type="text/javascript" src="../testdata/sgfs.js"></script> <!-- AUTO-GEN-DEPS --> <!-- Compiled --> <script type="text/javascript" src="../compiled/glift.js"></script> <!-- END-AUTO-GEN-DEPS --> <style> * { margin: 0; padding: 0; } #glift_display1 { width:100%; height:500px; position:relative; } </style> </head> <body> <div id="wrap" style="position:relative; width:100%"> <div id="gheader"></div> <div id="glift_display1"></div> <div id="extra_info"></div> <script type="text/javascript"> //glift.global.performanceDebugLevel = 'info' var basicProblem = glift.create({ allowWrapAround: true, sgfCollection: [ { url: '../testdata/frankbrown_peter.sgf', // initialPosition: // boardRegion: 'ALL', }, ], divId: "glift_display1", sgfDefaults: { widgetType: 'STANDARD_PROBLEM' }, display: { // drawBoardCoords: false, drawBoardCoords: true, disableZoomForMobile: false, // theme: 'COLORFUL', // useful for debugging box issues. } }); window.onresize = function() { basicProblem.redraw(); }; </script> </div> </body> </html>
I'm looking into a fix but I figured I would log it first.
Oh, try syncing. Should be fixed on head
In other words, I believe this commit should fix your problem: https://github.com/Kashomon/glift/commit/cd04b4239067cb12fa7999c48acd776e6c5db1e0
Yup it's fixed, thanks!
There are missing rows and columns when the
standard_problem
widget is used withdrawBoardCoords
and a full board.Using this in
htmltests/Derp.html
I'm looking into a fix but I figured I would log it first.