OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
t#32046:
[pettanr/pettanr.git]
/
app
/
models
/
sheet_panel.rb
diff --git
a/app/models/sheet_panel.rb
b/app/models/sheet_panel.rb
index
39d251b
..
74b8aa3
100644
(file)
--- a/
app/models/sheet_panel.rb
+++ b/
app/models/sheet_panel.rb
@@
-14,6
+14,9
@@
class SheetPanel < ActiveRecord::Base
def supply_default
self.sheet_id = nil
self.panel_id = nil
+ self.x = 15
+ self.y = 15
+ self.z = 1
self.t = nil
end