File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
client/src/pages/tabletop-page/tabletop-component/table-canvas Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,11 @@ export default class TableCanvas extends SuperComponent<ITableCanvas>{
4141 this . fogCanvas = document . createElement ( "canvas" ) as HTMLCanvasElement ;
4242 this . gridCanvas = document . createElement ( "canvas" ) as HTMLCanvasElement ;
4343 this . fogctx = this . fogCanvas . getContext ( "2d" ) ;
44+ this . fogctx . imageSmoothingEnabled = false ;
4445 this . imgctx = this . canvas . getContext ( "2d" ) ;
46+ this . imgctx . imageSmoothingEnabled = false ;
4547 this . gridctx = this . gridCanvas . getContext ( "2d" ) ;
48+ this . gridctx . imageSmoothingEnabled = false ;
4649 this . tabletop = document . querySelector ( "tabletop-component" ) ;
4750 this . renderGrid = false ;
4851 this . gridSize = 32 ;
You can’t perform that action at this time.
0 commit comments