浏览代码

Update canvas background to match background colour

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@32876 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 17 年之前
父节点
当前提交
d41f71f3c1
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      vector/v.digit/settings.tcl

+ 1 - 0
vector/v.digit/settings.tcl

@@ -13,6 +13,7 @@ proc color2rgb { color } {
 proc set_color { col color } {
     set clr [ color2rgb $color] 
     c_set_color $col [lindex $clr 0]  [lindex $clr 1]  [lindex $clr 2]
+    if {$col == "background"} {.screen.canvas configure -background $color}
 }
 
 proc set_on { code on } {