浏览代码

Squelches a warning about missing font-family when dragging the icon

David Wimsey 11 年之前
父节点
当前提交
ff176cd828
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      Samples/basic/drag/data/icon.rcss

+ 7 - 0
Samples/basic/drag/data/icon.rcss

@@ -19,3 +19,10 @@ icon
     
     drag: clone;
 }
+
+icon:drag
+{
+    /* Since this is an ad-hoc element, we need to define the font face to 
+       avoid runtime warnings about not having a font-family defined       */
+    font-family: Delicious;
+}