]> git.eshelyaron.com Git - emacs.git/commit
Make the size of elements the same in pgtk and X in tetris
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 22 Aug 2022 11:53:33 +0000 (13:53 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 22 Aug 2022 11:53:33 +0000 (13:53 +0200)
commitf421efdb5f03d5f7efc3f6893c280b27e54a33cb
tree37df4479944d61772f59081a9980fb294cb5a879
parentd9214248913e205f81ffe221a351f85c92f486bd
Make the size of elements the same in pgtk and X in tetris

* lisp/play/gamegrid.el (gamegrid-glyph-height-mm): Decrease
height a bit (since it wasn't really that height).
(gamegrid-calculate-glyph-size): Change calculation to work on
both X and pgtk (bug#49937).
(gamegrid-make-glyph): Inhibit image scaling.
lisp/play/gamegrid.el