當我在基於pygame的遊戲中使用精靈時,它們似乎無法正常工作 - 如截圖所示,它們沒有正確的形狀並且在上部具有一些奇怪的變形。 Black squares have distortions on the top; sprite in the centre must be something like arrow-shaped. 一段代碼涉及加載圖像(從pygame中的教程右copypasted)
我試圖在頁面的三個選項卡上分別顯示不同的圖表。 第一個選項卡完美呈現,但第二個和第三個不會。 Example of first chart ok Example of second and Third chart not OK 的標籤選擇了一個$(window).trigger('resize');每次執行這樣的圖表調整大小。到目前爲止,他們這樣做,但視覺問題仍然存在。 當我首次創建圖表創建他們i